Lara
Lara

Reputation: 167

Increase the font size of output and menus in NetBeans

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

Upvotes: 12

Views: 17698

Answers (8)

miktim
miktim

Reputation: 1

Install, register and set as default appropriate JDK (Tools -> Options -> Java -> Java Shell). For example: NetBeans 11.x - JDK 11. Than use --fontsize.

Upvotes: 0

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

Upvotes: -1

Saurabh
Saurabh

Reputation: 19

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.

Upvotes: 1

dko
dko

Reputation: 361

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

Upvotes: -1

madireddy
madireddy

Reputation: 107

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

Upvotes: 2

Mamallan
Mamallan

Reputation: 41

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

Upvotes: 1

Pransh Tiwari
Pransh Tiwari

Reputation: 4202

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.

Upvotes: 2

arcquim
arcquim

Reputation: 1096

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.

Upvotes: 17

Related Questions