Netbeans IDE 7.2 Look and Feel on Ubuntu 12.04

netbeans
ubuntu

NetBeans tips for java developers:

NetBeans IDE 7.2 has been released. This is the fastest version of NetBeans. I like NetBeans IDE. NetBeans has many good features, especially compared to Eclipse in Swing / JavaFX development. But NetBeans has ugly Look and Feel on Ubuntu. NetBeans GTK Look and Feel has a lot of chopping. Metal Look and Feel is too bad. I like clean and smart UI. That’s why I always use NetBeans IDE with Nimbus Look and Feel on Ubuntu. Better than Metal and GTK Look and Feel.

Nimbus Look and Feel setting is simple in NetBeans.

  • Edit netbeans.conf file (in netbeans-7.2 / etc directory by me)
  • include the option –laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel between the quotation marks in the line beginning netbeans_default_options:
netbeans_default_options="-J-client -J-Xss2m
-J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true
-J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true
-J-Dsun.zip.disableMemoryMapping=true
--laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel"

Happy coding in NetBeans!