I need to add a picture (see below) and change the colors of the cells dynamically (it will depends on a dynamic content of JTable
).
I was thinking to load this picture as a background of a new JTable
, however in this case it's difficult to fit JTable
's cells to the cells in the picture.
Another idea is to load image icons of blue colored squares into each cell of JTable
, and then dynamically change these image icons by another ones.
So, what is a good solution for this kind of problems?