簡體   English   中英

無法在java中設置quaqua外觀

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM