aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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: 1096
    
  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: 40034
    
  28
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: 1096
    
  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: 40034
    
  28
Ranganathan Kaliyur Mannar wrote: . . . No, not in this case. . . .
You are lucky there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Remove Nimbus Look and feel of an Netbeans Java Application