This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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

Changing LookAndFeel of a Sun One Application

Adam Wil

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

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.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Changing LookAndFeel of a Sun One Application
jQuery in Action, 3rd edition