Increase the font size of output and menus in NetBeans

11,760

Solution 1

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.

Solution 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.

Solution 3

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

Solution 4

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.

Solution 5

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
Share:
11,760

Related videos on Youtube

Lara
Author by

Lara

Updated on June 11, 2022

Comments

  • Lara
    Lara over 1 year

    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

    • arcquim
      arcquim over 6 years
      What operating system do you use?
    • Lara
      Lara over 6 years
      I am using Windows 10 x64
  • Park JongBum
    Park JongBum almost 4 years
    "C:\Program Files\NetBeans-11.1\netbeans\bin\netbeans64.exe" --fontsize 16
  • Pie
    Pie almost 3 years
    It worked. but putting --fontsize size option in netbeans file is not working. I don't understand why?. This question is a proof others are facing the same issue. But why?
  • Damn Vegetables
    Damn Vegetables over 1 year
    Where is netbeans.conf?
  • arcquim
    arcquim over 1 year
    @DamnVegetables, on Windows it's usually located here: C:\Program Files\NetBeans\etc\netbeans.conf
  • Yevgeniy Afanasyev
    Yevgeniy Afanasyev over 1 year
    No, this is for output window, if you are missing it, you can activate it in menu->windows->output
  • Yevgeniy Afanasyev
    Yevgeniy Afanasyev over 1 year
    Changing netbeans.conf worked for me on Win10, NetBeans12

Related