How to increase font size in NeatBeans IDE?

James picture James · Jul 5, 2010 · Viewed 152.3k times · Source

I just bought a new monitor that's rather large and I am having a lot of trouble reading the text on my editor. I tried increasing the font size the usual way by going to

Tools >> Options >> Fonts & Colors >> Clicking the "..." button next to font >> and then choosing a large font size

This is the result: (click for full size)

As you can see the cursor becomes a lot larger but the font size remains the same. Does anyone know another way to effectively increase font size in NetBeans?

Answer

Andy Dingfelder picture Andy Dingfelder · Jun 27, 2012

you might also want to change your font size for other parts of the IDE (other than the code).

Just add the parameter --fontsize <size> (default size is 11) to the startup command.

You can put it into the command line when launching IDE. You can also put it into the netbeans.conf file, which is in the /etc subdirectory of NetBeans installation.

Just place it as a last parameter into the netbeans_default_options parameter.