How to make the default font size bigger

Posted by Petr Pisl on Oct 06 2008, 09:00:00 AM CEST

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.

Category: Tips & Tricks | Permalink | Comments [0]

Trackback URL: http://blogs.sun.com/netbeansphp/entry/how_to_make_the_default
Comments:

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed