I'm having problems getting the Netbeans font to look nice, this has been a problem ever since I tried Ubuntu ~8. For some reason fonts look like they're not getting subpixel smoothing in Netbeans only, for the rest of the applications they look perfect.
Look at how ugly the screenshot is:

It's not just the code area but every font in the application looks this way. I was looking around and apparently adding the following line to the .bashrc file should fix the issue but in my case it didn't:
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'
It think it might only affect Java based applications, but I haven't been able to test another Java app to check the fonts out.
Does anyone know what can I do to fix this? How can I make Netbeans use the system font? Thanks in advance!
