12

I am using the latest version of NetBeans and I need to increase the font size of output and menus(Not the code part). I tried:

netbeans_default_options=".... --fontsize 16"

But the IDE doesn't startup when I add this to netbeans.conf. Please help me or I would go blind :D

Lara
  • 167
  • 1
  • 1
  • 9

7 Answers7

15

On Windows 10 editing netbeans.conf (appending the --fontsize 16 to netbeans_default_options) normally should work (at least, it works for me with the latest NetBeans). Another solution is to start netbeans.exe with --fontsize 16 option. For instance, having a shortcut to NetBeans on a desktop, you can modify it in the following fashion: right-click on the shortcut, click Properties, select Shortcut, append to the target line --fontsize 16.

arcquim
  • 1,060
  • 1
  • 14
  • 24
2

Go to the bin directory where Netbeans is installed. Generally the defualt is : C:\Program Files\NetBeans <version>\bin. Now through Command Prompt start netbeans by: netbeans --fontsize 14 --console suppress. By using --console suppress you can close the cmd window, without affecting the netbeans window.

Pransh Tiwari
  • 3,983
  • 1
  • 32
  • 43
2

setting -J-Dsun.java2d.dpiaware=true -> false, worked for me

madireddy
  • 107
  • 3
  • 13
1

Please follow the below steps:

NetBeans Menu :

C:\Program Files\NetBeans 8.2\bin>netbeans --fontsize 20

NetBeans Project folder/file navigation:

C:\Program Files\NetBeans 8.2\bin>netbeans --laf javax.swing.plaf.metal.MetalLookAndFeel --fontsize 20
Mamallan
  • 41
  • 6
1

The solutions work for Menu and Project Tab. For output window, you can just press Ctrl + Up or right click in the area and select Larger (or smaller) Font.

Saurabh
  • 19
  • 2
-1

Literally NONE of any posted solution worked for me.

Below is my solution from another similar question here

I am using NetBeans 11.1 on Linux. I found the solution by searching the Options menu. The issue was the IDE Theme- which has an "Override" font size.

  1. Tools > Options > Appearance > Darcula Look And Feel
  2. Uncheck "Override Default fonts by [ Dialog 10 ]"
  3. (OR increase the override font to a bigger size)
  4. Hit OK
  5. Exit and restart NetBeans!

Your environment preferences should be saved for future NetBeans sessions!

Options Window

dko
  • 197
  • 8
-1

If you're on Windows then go to TOOLS > OPTIONS > MISCELLANEOUS > OUTPUT Click on font: to change font size