简体   繁体   English

无法在java中设置quaqua外观

[英]can not set quaqua look and feel in java

Im facing the problem in setting the quaqua look and feel and getting this error on windows seven: 我面临着设置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)

this is the code fro setting look and feel : 这是设置外观的代码:

try {    

        UIManager.setLookAndFeel("ch.randelshofer.quaqua.QuaquaLookAndFeel");
    } catch (Exception e) { e.printStackTrace();
    }

it seems your lookAndFel it is supported by mac only, because it is card-coded inside of him to load a .plist ( specific for mac) even is he on windows. 它似乎是你的lookAndFel它只受mac支持,因为它是在他内部的卡片编码加载.plist(特定于mac),即使是他在Windows上。

You can write the windows implementation of lookandfeel You can write to developers to write. 你可以编写lookandfeel的windows实现你可以写给开发人员写。 Doublecheck what version have you installed on windows. 请仔细检查您在Windows上安装的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM