X

An Oracle blog about NetBeans for PHP

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.

Join the discussion

Comments ( 1 )
  • guest Friday, November 4, 2011

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


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services