FaqUsingMetalLFForPerformance

(Difference between revisions)
(Examples)
 
(3 intermediate revisions not shown)
Line 6: Line 6:
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.
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<tt>--laf javax.swing.plaf.metal.MetalLookAndFeel</tt>as an option in the<tt>netbeans.conf</tt>file. See [[FaqCustomLaf  |  FaqCustomLaf ]] for how to do this.
+
To run using the cross-platform L&F, specify <tt>--laf javax.swing.plaf.metal.MetalLookAndFeel</tt> as an option in the <tt>netbeans.conf</tt> file. See [[FaqCustomLaf  |  FaqCustomLaf ]] for how to do this.
-
 
+
-
--------
+
====Examples====
====Examples====
Line 23: Line 21:
----
----
-
Applies to: NetBeans 5.0, 5.5, 6.0
+
Applies to: Since NetBeans 5.0
Platforms: Mac OS X
Platforms: Mac OS X
See also: [[FaqCustomLaf  |  FaqCustomLaf ]]
See also: [[FaqCustomLaf  |  FaqCustomLaf ]]
 +
 +
[[Category:Performance:FAQ]]

Current revision as of 11:08, 22 December 2011

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.MetalLookAndFeel as an option in the netbeans.conf file. 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