aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to set Nimbus Look and feel in Netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to set Nimbus Look and feel in Netbeans" Watch "How to set Nimbus Look and feel in Netbeans" New topic
Author

How to set Nimbus Look and feel in Netbeans

kunagu varun
Ranch Hand

Joined: Apr 13, 2010
Posts: 38
What i want to do is to set Nimbus look and feel for my GUI application developed in Netbeans. When i run the application it uses only the default windows xp theme. I want netbeans to use java themes for my GUI application.

Please help me...
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19541
    
  16

Check out UIManager and its setLookAndFeel method. You can use the getInstalledLookAndFeels method to get the installed look&feels.

Keep in mind that you need to set the look&feel before you create your user interface. If you set it later you need to call update the UI - use SwingUtilities.updateComponentTreeUI for this.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set Nimbus Look and feel in Netbeans
 
Similar Threads
Net Beans GUI Builder - any way to get it to use Metal Look and Feel on Windows?
Designing GUIs with cross-platform look and feel
Help with GridBagLayout resize behaviour
how to change my GUI app look and feel to Nimbus?
Netbeans - How to set up look & feel