Font rendering in gedit is smooth, but not smooth in NetBeans

view story

http://askubuntu.com – See the attached image. The window in the background is gedit with the fonts rendered smooth. The window on top is NetBeans with not-so-smooth font rendering (not anti-aliased, I think). Both editors use Ubuintu Mono font. Can anyone help me to make NetBeans render the fonts better? I'm on 12.10. (HowTos)