FaqUsingMetalLFForPerformance

Revision as of 15:49, 17 June 2010 by Tpavek (Talk | contribs)

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: Since NetBeans 5.0

Platforms: Mac OS X

See also: FaqCustomLaf

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo