I would like to create a table of data in my program with a Swing GUI, that would look something like this:
Though there don't need to be spaces between the cells.
I thought of using a JTable and a JTableHeader, but 1) I don't know how to put an image into a cell of a JTable, and 2) according to the example in this tutorial, a JTable creates a table that allows some user interaction (kind of like a non-editable excel table - it allows row selecting and similar). I don't need any of that, I just want a simple data representation in the form of a table.
Is it possible to do that with a JTable or is there another class that I can use?