Top Description Classes
module java.desktop

Package javax.swing.plaf.metal


Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.

These classes are designed to be used while the corresponding LookAndFeel class has been installed (UIManager.setLookAndFeel(new XXXLookAndFeel())). Using them while a different LookAndFeel is installed may produce unexpected results, including exceptions. Additionally, changing the LookAndFeel maintained by the UIManager without updating the corresponding ComponentUI of any JComponents may also produce unexpected results, such as the wrong colors showing up, and is generally not encouraged.

Note

Most of the Swing API is not thread safe. For details, see Concurrency in Swing, a section in The Java Tutorial.

Since
1.2

Class Summary

Modifier and TypeClass and Description
pack-priv class
public class
DefaultMetalTheme

A concrete implementation of MetalTheme providing the original look of the Java Look and Feel, code-named "Steel".

public class
MetalBorders

Factory object that can vend Borders appropriate for the metal L & F.

pack-priv class
MetalBumps

Implements the bumps used throughout the Metal Look and Feel.

public class
MetalButtonUI

MetalButtonUI implementation

Warning

Serialized objects of this class will not be compatible with future Swing releases.

public class
MetalCheckBoxIcon

CheckboxIcon implementation for OrganicCheckBoxUI

Warning

Serialized objects of this class will not be compatible with future Swing releases.

public class
MetalCheckBoxUI

CheckboxUI implementation for MetalCheckboxUI

Warning

Serialized objects of this class will not be compatible with future Swing releases.

public class
MetalComboBoxButton

JButton subclass to help out MetalComboBoxUI

Warning

Serialized objects of this class will not be compatible with future Swing releases.

public class
MetalComboBoxEditor

The default editor for Metal editable combo boxes

Warning

Serialized objects of this class will not be compatible with future Swing releases.

public class
MetalComboBoxIcon

This utility class draws the horizontal bars which indicate a MetalComboBox

public class
MetalComboBoxUI

Metal UI for JComboBox

Warning

Serialized objects of this class will not be compatible with future Swing releases.

public class
MetalDesktopIconUI

Metal desktop icon.

public class
MetalFileChooserUI

Metal L&F implementation of a FileChooser.

pack-priv class
MetalFontDesktopProperty

DesktopProperty that only uses font height in configuring font.

pack-priv class
MetalHighContrastTheme

A high contrast theme.

public class
MetalIconFactory

Factory object that vends Icons for the Java look and feel (Metal).

public class
MetalInternalFrameTitlePane

Class that manages a JLF title bar

public class
MetalInternalFrameUI

Metal implementation of JInternalFrame.

public class
MetalLabelUI

A Windows L&F implementation of LabelUI.

public class
MetalLookAndFeel

The Java Look and Feel, otherwise known as Metal.

public class
MetalMenuBarUI

Metal implementation of MenuBarUI.

public class
MetalPopupMenuSeparatorUI

A Metal L&F implementation of PopupMenuSeparatorUI.

public class
MetalProgressBarUI

The Metal implementation of ProgressBarUI.

public class
MetalRadioButtonUI

RadioButtonUI implementation for MetalRadioButtonUI

Warning

Serialized objects of this class will not be compatible with future Swing releases.

public class
MetalRootPaneUI

Provides the metal look and feel implementation of RootPaneUI.

public class
MetalScrollBarUI

Implementation of ScrollBarUI for the Metal Look and Feel

public class
MetalScrollButton

JButton object for Metal scrollbar arrows.

public class
MetalScrollPaneUI

A Metal L&F implementation of ScrollPaneUI.

public class
MetalSeparatorUI

A Metal L&F implementation of SeparatorUI.

public class
MetalSliderUI

A Java L&F implementation of SliderUI.

pack-priv class
MetalSplitPaneDivider

Metal's split pane divider

Warning

Serialized objects of this class will not be compatible with future Swing releases.

public class
MetalSplitPaneUI

Metal split pane.

public class
MetalTabbedPaneUI

The Metal subclass of BasicTabbedPaneUI.

public class
MetalTextFieldUI

Basis of a look and feel for a JTextField.

public abstract class
MetalTheme

MetalTheme provides the color palette and fonts used by the Java Look and Feel.

pack-priv class
MetalTitlePane

Class that manages a JLF awt.Window-descendant class's title bar.

public class
MetalToggleButtonUI

MetalToggleButton implementation

Warning

Serialized objects of this class will not be compatible with future Swing releases.

public class
MetalToolBarUI

A Metal Look and Feel implementation of ToolBarUI.

public class
MetalToolTipUI

A Metal L&F extension of BasicToolTipUI.

public class
MetalTreeUI

The metal look and feel implementation of TreeUI.

pack-priv class
MetalUtils

This is a dumping ground for random stuff we want to use in several places.

public class
OceanTheme

The default theme for the MetalLookAndFeel.