Friday, February 24, 2012

NETBEANS for JAVA Programming

Sometimes, fonts in NETBEANS looks ugly !

Netbeans is no doubt a good tool for JAVA programming, but sometimes, I get frustrated by looking at the fonts.

By the way, some of my favorite "fixed width" fonts for Programming are:
> EnvyCode-R (just love this !)
> Consolas
> Liberation Mono
> Droid Sans Mono
> DejaVu Sans Mono

I either use NETBEANS locally on my Laptop (HP EliteBook 8440P: Which is a business Laptop) or I "remote desktop" to a LINUX box which is quite powerful (HP ProLiant DL-380-G6 Server with 16 CPU cores and 48 GB of RAM and 5 TB of space on /home : This is our Redhat Enterprise Linux build machine) and in this "remote desktop" session, I launch NETBEANS IDE.

It's not the same way you remote-desktop to Windows. Instead, I start "vncserver" (Google for VNC Client/Server) on the Linux box. Each "vncserver" instance allows me to do a remote desktop to the Linux box from Windows.

From my Laptop running Windows 7, I run the client. I use either "Tight VNC" or "Ultra VNC" Clients & then connect to the LINUX Box.

Now, coming back to the fonts, here is what you need to do to make the fonts look "better":

After installing NETBEANS (On Windows or Linux), you should be able to see this "netbeans.conf" file under "etc" directory.

Manually edit the "netbeans.conf" file, and _add_ the switches


to "netbeans_default_options"

That should do it ! Your Font should look better now !

For a even faster NETBEANS, play around with these settings

netbeans_default_options="-J-Xms256m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m
-J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-XX:+UseConcMarkSweepGC
-J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled"

NETBEANS / JVM Performance Tuning
Visit this site:

No comments :

Post a Comment