David bond,
You are watching the forum "Sun Java Studio
Enterprise", which was updated Jul 19, 2006 8:49:13
PM.
To view the forum, visit:
http
://forum.sun.com/jive/forum.jspa?forumID=122
Topic "Problems Look and Feel of Desktop App"
was updated by KSorokin with the following message:
When the forms are displayed in the editor they inherit the
NetBeans Look and Feel. However when they are run standalone
they most likely use the Java default Look and Feel. In
order to tell the app to use the platform's default L&F
execute the following code before showing any of the frames:
[code]
try {
UIManager.setLookAndFeel(
UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) { }
[/code]
The following link may also be of interest: http://java.sun.com/docs/books/tutorial/uiswing/mi
sc/plaf.html
To view the topic, visit:
http://forum.sun.com/jive/thread.jspa?foru
mID=122&threadID=102429.
If you need to update your forum watch settings, please log
in to the forums and go to "Your Watches"
settings.
Thank you for your interest in Sun software technologies and
products and for your participation in the Sun Developer
Forums. For a comprehensive listing of developer resources,
please go to: http://developers.sun.com
a> |