Netbeans UI texts are antialiased badly, explanation of which settings are possible check this out: http://wiki.netbeans.org/FaqFontRendering
Adding “-J-Dawt.useSystemAAFontSettings=on” to netbeans_default_options in “~/netbeans-<version>/etc/netbeans.conf” solved it.