Re: Help! Where's my UIManager



Zerex71, 29.04.2008 18:37:

I used your code suggestion and the LAF is still the same Windows-
looking thing. I want the Java variety. It's not working for me.

From the JavaDocs:
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/UIManager.html#getCrossPlatformLookAndFeelClassName()

"If the system property swing.crossplatformlaf has been defined, its value will be returned."

Is it possible that you are setting that property somewhere?
Check if you have a swing.properties in your JDK installation which might set that property.

Otherwise you could call getInstalledLookAndFeels() and see which are available in your installation.

Thomas





.