Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Remove Nimbus Look and feel of an Netbeans Java Application

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

siva chaitanya wrote:can we delete default generated code ?


sure...why not?
 
Marshal
Posts: 70204
280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Marshal
Posts: 70204
280
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ranganathan Kaliyur Mannar wrote: . . . No, not in this case. . . .

You are lucky there.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic