Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我设置单元格的背景颜色后,当我选择单元格时,我认为文本将其颜色更改为白色(不清晰可见)它曾经是黑色的。我在用
cell.setBackground( Color.yellow )
在我的自定义单元格渲染器中我应该添加任何其他内容以使文本正确可见吗?
改变前景色:
cell.setForeground( Color.BLACK );