Making netbeans less ugly under Ubuntu

This is done under 13.04 with sun’s java.

This is very easy fix to the horrible fonts under Ubuntu for Netbeans.

  1. find netbeans.conf file. it should be under ~/<netbeans folder>/etc
  2. find the line that starts with:”netbeans_default_options”
  3. add this at the end: --laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd
  4. There is a space at the beginning, don’t forget it

save the file, and start (or restart) Netbeans. Enjoy.

tested with netbeans 7.31,7.4

*** update ***

There is an option to set all system fonts using unity-tweak-tool. This tool enable to set the fonts system wide.