Netbeans IDE 7.2 Look and Feel on Ubuntu 12.04


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 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-Dsun.java2d.noddraw=true

Happy coding in NetBeans!


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

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


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

    Works like a charm. Thank you.


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

    Merci beaucoup
    ça fonctionne très bien


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

    Thanks, it is better now. :)


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

    Absolutely! Thank you.


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

    On my Ubuntu 12.04, I put that code in


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

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


  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?



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

      Hi Jonathan,

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


  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 [...]


  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!


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

    Thanks. Works properly on Kubuntu 14.10.
    Thank You.


Leave a Reply