How set cell background color in SortableTable?

有帮助吗?

解决方案

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

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top