【发布时间】:2013-05-19 02:44:11
【问题描述】:
我在设置 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();
}
【问题讨论】:
标签: java windows macos swing look-and-feel