Anti-Aliasing in Netbeans

June 10, 2009

Problem :

For some time now, the newer version of netbeans, no longer displays the “Advanced Options” that allows for anti-aliased fonts. And frankly speaking, the fonts look terrible otherwise…

Solution :

Manually edit the ‘netbeans.conf ‘ file, located in the ‘/etc’ folder, and add the switchs ‘-J-Dswing.aatext=true’ and ‘-J-Dawt.useSystemAAFontSettings=on’ to ‘netbeans_default_options’ … !!

i.e.

# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options="-J-Dorg.netbeans.modules.tomcat.autoregister.token=1244593975203 -J-Dorg.netbeans.modules.tomcat.autoregister.catalinaHome=\"C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\" -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=on"

That’s all there is to it…

… waAllahu A’lam.

Entry Filed under: Netbeans. Tags: .

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Recent Posts

Recent Comments

Categories

Top Posts

Links

Blog Stats

Meta