FaqUsingMetalLFForPerformance

(Difference between revisions)
Line 1: Line 1:
-
__NOTOC__
 
__NOTOC__
__NOTOC__
===Can I improve performance by changing the look and feel?===
===Can I improve performance by changing the look and feel?===

Revision as of 17:46, 6 November 2009

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 
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