(ubuntu 9.04 gnome, netbeans 6.5, Java 1.6)
I assume you are familiar with: FaqNetbeansConf , Change the Font Size .
Setting the font size of your editors is easy : Tools – Options – Font and Colors .
If you want to change font size of the menues and panels of the GUI and you are using startup options
--laf javax.swing.plaf.metal.MetalLookAndFeel
you can set the GUI font size:
--fontsize 13
and it will work without any problems.
In case you are using the default GTK Theme you will find that the last option doesn’t change the font size of the menues. Here it helps to edit the ~/.gtkrc-2.0 configuration file:
# This file was written by KDE
# You can edit it in the KDE control center, under "GTK Styles and Fonts"
include "/usr/share/themes/Qt/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Verdana 11"
}
widget_class "*" style "user-font"
gtk-theme-name="Qt"
gtk-font-name="Verdana 11"
Change entries like “Verdana 11″ according to your needs.