Module java.desktop
Package javax.swing.plaf.metal
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 JComponent
s 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
-
ClassDescriptionA concrete implementation of
MetalTheme
providing the original look of the Java Look and Feel, code-named "Steel".Factory object that can vend Borders appropriate for the metal L & F.The class represents the border of aJButton
.The class represents the 3D border.The class represents the border of aJInternalFrame
.The class represents the border of aJMenuBar
.The class represents the border of aJMenuItem
.The class represents the border of an option dialog.Border for a Palette.The class represents the border of aJPopupMenu
.The class represents the border of a rolloverButton
.The class represents the border of aJScrollPane
.Border for a Table HeaderBorder for aJTextField
.Border for aJToggleButton
.The class represents the border of aJToolBar
.MetalButtonUI implementationCheckboxIcon implementation for OrganicCheckBoxUICheckboxUI implementation for MetalCheckboxUIJButton subclass to help out MetalComboBoxUIThe default editor for Metal editable combo boxesA subclass of BasicComboBoxEditor that implements UIResource.This utility class draws the horizontal bars which indicate a MetalComboBoxMetal UI for JComboBoxMetal desktop icon.Metal L&F implementation of a FileChooser.Factory object that vendsIcon
s for the Java look and feel (Metal).Warning: Serialized objects of this class will not be compatible with future Swing releases.Warning: Serialized objects of this class will not be compatible with future Swing releases.Defines an icon for Palette closeWarning: Serialized objects of this class will not be compatible with future Swing releases.Warning: Serialized objects of this class will not be compatible with future Swing releases.The class represents a tree leaf icon.Class that manages a JLF title barMetal implementation of JInternalFrame.A Windows L&F implementation of LabelUI.The Java Look and Feel, otherwise known as Metal.Metal implementation ofMenuBarUI
.A Metal L&F implementation of PopupMenuSeparatorUI.The Metal implementation of ProgressBarUI.RadioButtonUI implementation for MetalRadioButtonUIProvides the metal look and feel implementation ofRootPaneUI
.Implementation of ScrollBarUI for the Metal Look and FeelJButton object for Metal scrollbar arrows.A Metal L&F implementation of ScrollPaneUI.A Metal L&F implementation of SeparatorUI.A Java L&F implementation of SliderUI.Metal split pane.The Metal subclass of BasicTabbedPaneUI.Basis of a look and feel for a JTextField.MetalTheme
provides the color palette and fonts used by the Java Look and Feel.MetalToggleButton implementationA Metal Look and Feel implementation of ToolBarUI.A Metal L&F extension of BasicToolTipUI.The metal look and feel implementation ofTreeUI
.The default theme for theMetalLookAndFeel
.