If you use netbeans and somehow, the IDE’s fonts are not smooth enough comparing to gnome display you can fix it with below steps.
Go into your Netbeans install directory. For me, it was in /usr/local/netbeans-7.0/.
Look for the etc directory and open the file named netbeans.conf in your favorite text editor.
Add the following to your netbeans_default_options:
-J-Dawt.useSystemAAFontSettings=lcd
Start netbeans, and your font will be as smooth as ever.