不能使用SystemLookAndFeel,不知跟发行版有没有关系。
System.setProperty("swing.systemlaf", "javax.swing.plaf.metal.MetalLookAndFeel");
本文讨论了在特定发行版中无法使用SystemLookAndFeel的问题,并提供了一种替代方案,即通过设置属性来指定MetalLookAndFeel作为UI风格。
System.setProperty("swing.systemlaf", "javax.swing.plaf.metal.MetalLookAndFeel");
2652

被折叠的 条评论
为什么被折叠?