How to make the default font size bigger

Sometimes I need to increase the default font used in NetBeans. For example for a presentaion. Fortunatelly it's simple to change the default font size used in editor,  menus, dialogs, etc. You can run NetBeans with argument --fontsize xx, where xx is the required size. The --fontsize argument applies to fonts used in menus, dialogs and most components in the IDE.

You can run NetBeans with --fontsize from command line:

on Windows: netbeans.exe --fontsize 14

on a linux machine: netbeans --fontsize 14

Or you can set this option permanently in netbeans.conf file.

Gnome Specific
If you are running NetBeans under Gnome with the GTK L&F, then NetBeans uses the default Gnome settings including font size. If you want to change the font size for NetBeans you must change font size in Gnome Preferences -> Appearance -> Fonts. Alternatively you can use Metal L&F with --fontsize option. Use --laf jvax.swing.plaf.metal.MetalLookAndFeel to run with Metal.

Comments:

Does this work for Windows 7? It doesn't recognize Netbeans; "netbeans.exe is not recognized as an internal or external command..."

Posted by guest on November 04, 2011 at 11:53 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today