Archive for April, 2008

Forcing NetBeans to use Metal LAF on Ubuntu

April 30, 2008 3 comments

I just installed NetBeans 6.1 on my Ubuntu Gutsy running Sun’s Java 6. The default L&F used is GTK. I personally prefer Metal with Ocean theme. Here is how you get those:

  1. Edit NETBEANS_HOME/etc/netbeans.conf
  2. Add --laf javax.swing.plaf.metal.MetalLookAndFeel -J-Dswing.aatext=true -J-Dswing.metalTheme=ocean to netbeans_default_options variable

Thats it!

Categories: software, tech