Monday, November 14, 2011

Customizing your Netbeans Look and Feel


To apply Nimbus look and feel to your netbeans ide, you will have to edit netbeans.conf which is found in your netbeans installation directory( etc is the folder name ).

Here is the line where i added lnf options

 netbeans_default_options="--laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=384m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true"

Now restart your ide :) 


Now to your own RCP app, just add
run.args.extra=--laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
to your project.properties

[ This is for development purposes only]
More details : http://wiki.netbeans.org/DevFaqChangeLookAndFeel








No comments:

Post a Comment