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 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


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: 1101
    
  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: 43975
    
  33
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: 1101
    
  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: 43975
    
  33
Ranganathan Kaliyur Mannar wrote: . . . No, not in this case. . . .
You are lucky there.
 
Have you checked out Aspose?
 
subject: Remove Nimbus Look and feel of an Netbeans Java Application
 
It's not a secret anymore!