54 * MetalLookAndFeel} derives its behavior from the defaults
55 * table. Unless otherwise noted each of the {@code ComponentUI}
56 * implementations in this package document the set of defaults they
57 * use. Unless otherwise noted the defaults are installed at the time
58 * {@code installUI} is invoked, and follow the recommendations
59 * outlined in {@code LookAndFeel} for installing defaults.
60 * <p>
61 * {@code MetalLookAndFeel} derives it's color palette and fonts from
62 * {@code MetalTheme}. The default theme is {@code OceanTheme}. The theme
63 * can be changed using the {@code setCurrentTheme} method, refer to it
64 * for details on changing the theme. Prior to 1.5 the default
65 * theme was {@code DefaultMetalTheme}. The system property
66 * {@code "swing.metalTheme"} can be set to {@code "steel"} to indicate
67 * the default should be {@code DefaultMetalTheme}.
68 * <p>
69 * <strong>Warning:</strong>
70 * Serialized objects of this class will not be compatible with
71 * future Swing releases. The current serialization support is
72 * appropriate for short term storage or RMI between applications running
73 * the same version of Swing. As of 1.4, support for long term storage
74 * of all JavaBeans™
75 * has been added to the <code>java.beans</code> package.
76 * Please see {@link java.beans.XMLEncoder}.
77 *
78 * @see MetalTheme
79 * @see DefaultMetalTheme
80 * @see OceanTheme
81 *
82 * @author Steve Wilson
83 */
84 @SuppressWarnings("serial") // Same-version serialization only
85 public class MetalLookAndFeel extends BasicLookAndFeel
86 {
87
88 private static boolean METAL_LOOK_AND_FEEL_INITED = false;
89
90
91 /**
92 * True if checked for windows yet.
93 */
94 private static boolean checkedWindows;
|
54 * MetalLookAndFeel} derives its behavior from the defaults
55 * table. Unless otherwise noted each of the {@code ComponentUI}
56 * implementations in this package document the set of defaults they
57 * use. Unless otherwise noted the defaults are installed at the time
58 * {@code installUI} is invoked, and follow the recommendations
59 * outlined in {@code LookAndFeel} for installing defaults.
60 * <p>
61 * {@code MetalLookAndFeel} derives it's color palette and fonts from
62 * {@code MetalTheme}. The default theme is {@code OceanTheme}. The theme
63 * can be changed using the {@code setCurrentTheme} method, refer to it
64 * for details on changing the theme. Prior to 1.5 the default
65 * theme was {@code DefaultMetalTheme}. The system property
66 * {@code "swing.metalTheme"} can be set to {@code "steel"} to indicate
67 * the default should be {@code DefaultMetalTheme}.
68 * <p>
69 * <strong>Warning:</strong>
70 * Serialized objects of this class will not be compatible with
71 * future Swing releases. The current serialization support is
72 * appropriate for short term storage or RMI between applications running
73 * the same version of Swing. As of 1.4, support for long term storage
74 * of all JavaBeans
75 * has been added to the <code>java.beans</code> package.
76 * Please see {@link java.beans.XMLEncoder}.
77 *
78 * @see MetalTheme
79 * @see DefaultMetalTheme
80 * @see OceanTheme
81 *
82 * @author Steve Wilson
83 */
84 @SuppressWarnings("serial") // Same-version serialization only
85 public class MetalLookAndFeel extends BasicLookAndFeel
86 {
87
88 private static boolean METAL_LOOK_AND_FEEL_INITED = false;
89
90
91 /**
92 * True if checked for windows yet.
93 */
94 private static boolean checkedWindows;
|