Re: Help! Where's my UIManager
- From: Zerex71 <Zerex71@xxxxxxx>
- Date: Wed, 30 Apr 2008 07:53:31 -0700 (PDT)
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
.
- References:
- Help! Where's my UIManager
- From: Zerex71
- Re: Help! Where's my UIManager
- From: Jean-Baptiste Nizet
- Re: Help! Where's my UIManager
- From: Zerex71
- Re: Help! Where's my UIManager
- From: Jean-Baptiste Nizet
- Re: Help! Where's my UIManager
- From: Zerex71
- Re: Help! Where's my UIManager
- From: Thomas Kellerer
- Help! Where's my UIManager
- Prev by Date: Re: Declaring members for Interfaces
- Next by Date: Re: Inconsistent CPU usage
- Previous by thread: Re: Help! Where's my UIManager
- Next by thread: Lockable JFrames?
- Index(es):