Re: Help! Where's my UIManager



On Apr 30, 2:56 am, Thomas Kellerer <YQDHXVLMU...@xxxxxxxxxxxxx>
wrote:
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#ge...()

"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

I used Google Desktop to see if it could find a swing.properties file
on my system and it could not. I have never used it and don't know
where it would be on the machine. I will read up on this file and see
what it can do for me.

Thanks,
Mike
.