This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Changing LookAndFeel of a Sun One Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Changing LookAndFeel of a Sun One Application" Watch "Changing LookAndFeel of a Sun One Application" New topic
Author

Changing LookAndFeel of a Sun One Application

Adam Wil
Greenhorn

Joined: Mar 11, 2003
Posts: 3
I've spent the last 2 days searching the net for an answer to this problem:
How do you change the LookAndFeel of an application you are working on in Sun One Studio (or NetBeans)? Is it even supported in the IDE? Or can you only change the look and feel by editing the main or init methods?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

This post talks about how you can set up a different default look & feel up for all your Java apps. The only time this wouldn't work is if an app loads a specific look and feel. So, if the IDE specifies a specific look & feel you'll still need to set your specific look & feel in the main() method like always. If you do set default look & feel like the post outlines, then all your java apps that use the default look and feel will use the new look and feel.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing LookAndFeel of a Sun One Application
 
Similar Threads
About LookAndFeel
UIManager
Changing LookAndFeel
Applet changes from my custom lookandfeel to java default cross platform lookandfeel
Servlets to Swing