Two Laptop Bag*
The moose likes Swing / AWT / SWT and the fly likes Remove Nimbus Look and feel of an Netbeans Java Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Remove Nimbus Look and feel of an Netbeans Java Application" Watch "Remove Nimbus Look and feel of an Netbeans Java Application" New topic
Author

Remove Nimbus Look and feel of an Netbeans Java Application

siva chaitanya
Ranch Hand

Joined: Jul 05, 2011
Posts: 59
When i try to create a new JDialog Form in netbeans by default it is generating nimbus look and feel but i want to remove it which i cannot because can we delete default generated code ?
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1076
    
  10

siva chaitanya wrote:can we delete default generated code ?

sure...why not?


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37900
    
  22
The problem with NetBeans is that the automatically generated code will simply reappear. Maybe that won’t happen if you close the Matisse window, but I am not certain.
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1076
    
  10

Campbell Ritchie wrote:The problem with NetBeans is that the automatically generated code will simply reappear.

No, not in this case. This L&F code is generated in the program with the 'main()' method and is not related to the Matisse designer. That is what I remember...
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37900
    
  22
Ranganathan Kaliyur Mannar wrote: . . . No, not in this case. . . .
You are lucky there.
 
 
subject: Remove Nimbus Look and feel of an Netbeans Java Application
 
Similar Threads
GUI Features
Help with GridBagLayout resize behaviour
How to set Nimbus Look and feel in Netbeans
Netbeans gui plugin generates main method for all gui classes
Well Grounded Java Developer content question