to your JVM. I don't know why the default is "ugly 1990s-style", but those settings made Netbeans usable for me (for long enough to discover I still prefer Eclipse, except for the profiler).
AFAIK There is a setting in editor->Appearance->Use Anti Aliased Fonts
and, as other commenter said Oracle JRE may have better font rendering than Open JDK.