Java + JCommon: How set cell background in SortableTable?
-
02-10-2020 - |
Question
How set cell background color in SortableTable?
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