[英]can not set quaqua look and feel in java
我面临着设置quaqua外观和在Windows 7上出现此错误的问题:
Warning: ch.randelshofer.quaqua.util.Preferences failed to load Mac OS X global system preferences
java.io.FileNotFoundException: C:\Users\A.Rahman\Library\Preferences\.GlobalPreferences.plist (The system cannot find the path specified)
这是设置外观的代码:
try {
UIManager.setLookAndFeel("ch.randelshofer.quaqua.QuaquaLookAndFeel");
} catch (Exception e) { e.printStackTrace();
}
它似乎是你的lookAndFel它只受mac支持,因为它是在他内部的卡片编码加载.plist(特定于mac),即使是他在Windows上。
你可以编写lookandfeel的windows实现你可以写给开发人员写。 请仔细检查您在Windows上安装的版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.