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.
正如标题所说,我有兴趣在使用 Nimbus 时移除 JButton 的边框。就像是:
myButton.setBorderPainted(false);
不幸的是,不起作用。我查看了 UIManager 默认值,但找不到任何边框颜色/不透明度选项。如果可能的话,我真的很感激一些帮助。谢谢你的时间!