Question

How set cell background color in SortableTable?

Était-ce utile?

La solution

Take a look at cell renderers (if you have a JTable in mind)

Autres conseils

If the component is a JLabel, it has to be opaque, but anyone can make that mistake. :-)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top