我是 Java 编程新手,想知道是否可以在 Java GUI 应用程序中获得 Windows 原生外观。显然 Swing 不起作用。
最佳答案
使用以下内容:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
阅读 UIManager和 How to Set the Look and Feel了解更多信息。
关于java - 如何在 Java GUI 编程中获得 Windows 原生外观?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11425103/