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!

12 Comments

  1. Cristian
    Aug 15, 2012 @ 20:40:12

    Thank you so much for this… netbeans looks gorgeous now!

    Reply

  2. JG
    Aug 18, 2012 @ 22:19:29

    Works like a charm. Thank you.

    Reply

  3. gérard
    Aug 20, 2012 @ 18:19:44

    Merci beaucoup
    ça fonctionne très bien

    Reply

  4. Rob
    Sep 06, 2012 @ 12:10:11

    Thanks, it is better now. :)

    Reply

  5. Uptone
    Sep 25, 2012 @ 13:39:43

    Absolutely! Thank you.

    Reply

  6. vet
    Oct 20, 2012 @ 14:19:41

    On my Ubuntu 12.04, I put that code in
    /usr/local/netbeans-7.2.1/etc/netbeans.conf

    Reply

  7. Ed
    Jan 13, 2013 @ 05:40:21

    You can also refer to it by its short name! Just use: –laf Nimbus

    Reply

  8. Jon
    Mar 02, 2013 @ 09:06:38

    Great to be able to change it, but you can you only do this through a command-line? I have been looking through the drop-down menu’s to change the default look, and I cannot find it!

    Does anybody know how to do this please?

    -Jonathan.

    Reply

    • Cem Ikta
      Mar 07, 2013 @ 13:38:36

      Hi Jonathan,

      Unfortunately, NetBeans has not yet look and feel settings in Menu Tools > Options.

      Reply

  9. My ubuntu development pc: installation and settings
    Aug 30, 2013 @ 18:21:51

    [...] See my blog post: NetBeans IDE 7.2 Look and Feel on Ubuntu 12.04 [...]

    Reply

  10. Yang
    Dec 30, 2013 @ 16:41:49

    The day Oracle and our open source companions realize the importance of user graphic experience as much as Microsoft does is the day comes a world without fence!

    Reply

  11. Abraham
    Nov 17, 2014 @ 15:01:07

    Thanks. Works properly on Kubuntu 14.10.
    Thank You.

    Reply

Leave a Reply