是否可以将 Java GUI 的外观更改为您的操作系统(如 Windows)的外观?如果是这样,那我该怎么做?
最佳答案
是的,参见 How to Set the Look and Feel在 Oracle 的 Java 教程中。
将外观设置为当前系统外观:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
关于java - 将 java gui 组件的外观更改为 windows 外观,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12597507/