cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

FaqUsingMetalLFForPerformance

Can I improve performance by changing the look and feel?

On Mac OS X, running Netbeans with the Java cross-platform L&F (Metal) is faster and appears to have lower memory overhead than the L&F normally used by Netbeans on this platform.

The Metal L&F has simpler graphics which require less computation to generate. The perceived smaller memory footprint is probably due to the smaller number of data structures required.

To run using the cross-platform L&F, specify--laf javax.swing.plaf.metal.MetalLookAndFeelas an option in thenetbeans.conffile. See FaqCustomLaf for how to do this.


Examples

Edit:

        /Applications/NetBeansIDE5.0.app/Contents/Resources/NetBeans/etc/netbeans.conf

such that the line beginning with netbeans_default_options also includes this option:

        --laf javax.swing.plaf.metal.MetalLookAndFeel

  Applies to: NetBeans 5.0, 5.5, 6.0
  Platforms: Mac OS X
  See also:   FaqCustomLaf