使用
import org.pushingpixels.substance.api.skin.SubstanceBusinessBlackSteelLookAndFeel;
try {
//设置外观
UIManager.setLookAndFeel(new SubstanceBusinessBlackSteelLookAndFeel());
JFrame.setDefaultLookAndFeelDecorated(true);
} catch (UnsupportedLookAndFeelException ex) {
ex.printStackTrace();
}
报错
Exception in thread "main" java.lang.NoClassDefFoundError: org/pushingpixels/lafwidget/LafWidgetSupport
at form.application.Form.main(Form.java:185)
Caused by: java.lang.ClassNotFoundException: org.pushingpixels.lafwidget.LafWidgetSupport
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
查询需要安装trident,build-path之后也没有用。求大佬指点。