Home > software, tech > Forcing NetBeans to use Metal LAF on Ubuntu

Forcing NetBeans to use Metal LAF on Ubuntu

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!

About these ads
Categories: software, tech
  1. bodhi
    July 3, 2008 at 4:49 am

    thank you so much, I was looking everywhere for this option, I think GTK lookAndFeel doesn’t go too well with netbeans

    thanks :)

  2. July 11, 2008 at 7:13 am

    Thanks!

  3. glauber_md
    July 8, 2009 at 10:13 pm

    Thank you for this post. I don’t like the glitches of gtk laf…

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: