> I am using Netbeans as the IDE and all components are Swing. In the apps
> main class I use the statement
[quoted text clipped - 10 lines]
>
> Jeff
>> I am using Netbeans as the IDE and all components are Swing. In the apps
>> main class I use the statement
>> UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
There are some tricks to setting the L&F.
If you set it after the the components
are created/shown, you need to chase the
changes down through the UI.
Here is an example of doing just that.
<http://www.physci.org/launcher.jsp#JPLAFChanger>

Signature
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jeff Douglass - 08 May 2004 19:09 GMT
I am setting the L&F as recommended by sun buy
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
This statement is the frist thing called in the main function and no other
objects are created prior to this statements so I would assume that this is
correct. The app definately is using the Windows L&F. What I don't
understand is why my apps menu fonts, and other things, are not using the
windows desktops setting but the Netbeans IDE is. I would assume that both
are using all the same stuff like L&F, SDK, JRE. Any ideas on what I should
look at?
Thanks again
jeff
Andrew Thompson - 08 May 2004 20:29 GMT
> .. What I don't
> understand is why my apps menu fonts, and other things, are not using the
> windows desktops setting but the Netbeans IDE is. I would assume that both
> are using all the same stuff like L&F, SDK, JRE. Any ideas on what I should
> look at?
You might find the JGoodies Windows PLAF
to be closer to what you expect to see.
Check it out at.. <http://www.jgoodies.com>

Signature
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology