我正在尝试将JButton的背景色设置为其默认颜色"Control“。在哪里能找到那种颜色?谢谢。
发布于 2013-11-27 08:55:30
试试看
myButton.setBackground(null)
它会更改回默认颜色。
也许这是可能的答案
How to get JButton default background color?
https://stackoverflow.com/questions/20237624
相似问题