Arshad Ali
Arshad Ali

Reputation: 3274

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:

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();
    }

Upvotes: 0

Views: 954

Answers (1)

user529543
user529543

Reputation:

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.

You can write the windows implementation of lookandfeel You can write to developers to write. Doublecheck what version have you installed on windows.

Upvotes: 2

Related Questions