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 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
-
Class Summary Class Description DefaultMetalTheme A concrete implementation ofMetalTheme
providing the original look of the Java Look and Feel, code-named "Steel".MetalBorders Factory object that can vend Borders appropriate for the metal L & F.MetalBorders.ButtonBorder The class represents the border of aJButton
.MetalBorders.Flush3DBorder The class represents the 3D border.MetalBorders.InternalFrameBorder The class represents the border of aJInternalFrame
.MetalBorders.MenuBarBorder The class represents the border of aJMenuBar
.MetalBorders.MenuItemBorder The class represents the border of aJMenuItem
.MetalBorders.OptionDialogBorder The class represents the border of an option dialog.MetalBorders.PaletteBorder Border for a Palette.MetalBorders.PopupMenuBorder The class represents the border of aJPopupMenu
.MetalBorders.RolloverButtonBorder The class represents the border of a rolloverButton
.MetalBorders.ScrollPaneBorder The class represents the border of aJScrollPane
.MetalBorders.TableHeaderBorder Border for a Table HeaderMetalBorders.TextFieldBorder The class represents the border of aJTestField
.MetalBorders.ToggleButtonBorder MetalBorders.ToolBarBorder The class represents the border of aJToolBar
.MetalButtonUI MetalButtonUI implementationMetalCheckBoxIcon CheckboxIcon implementation for OrganicCheckBoxUIMetalCheckBoxUI CheckboxUI implementation for MetalCheckboxUIMetalComboBoxButton JButton subclass to help out MetalComboBoxUIMetalComboBoxEditor The default editor for Metal editable combo boxesMetalComboBoxEditor.UIResource A subclass of BasicComboBoxEditor that implements UIResource.MetalComboBoxIcon This utility class draws the horizontal bars which indicate a MetalComboBoxMetalComboBoxUI Metal UI for JComboBoxMetalDesktopIconUI Metal desktop icon.MetalFileChooserUI Metal L&F implementation of a FileChooser.MetalIconFactory Factory object that vendsIcon
s for the Java™ look and feel (Metal).MetalIconFactory.FileIcon16 Warning: Serialized objects of this class will not be compatible with future Swing releases.MetalIconFactory.FolderIcon16 Warning: Serialized objects of this class will not be compatible with future Swing releases.MetalIconFactory.PaletteCloseIcon Defines an icon for Palette closeMetalIconFactory.TreeControlIcon Warning: Serialized objects of this class will not be compatible with future Swing releases.MetalIconFactory.TreeFolderIcon Warning: Serialized objects of this class will not be compatible with future Swing releases.MetalIconFactory.TreeLeafIcon The class represents a tree leaf icon.MetalInternalFrameTitlePane Class that manages a JLF title barMetalInternalFrameUI Metal implementation of JInternalFrame.MetalLabelUI A Windows L&F implementation of LabelUI.MetalLookAndFeel The Java Look and Feel, otherwise known as Metal.MetalMenuBarUI Metal implementation ofMenuBarUI
.MetalPopupMenuSeparatorUI A Metal L&F implementation of PopupMenuSeparatorUI.MetalProgressBarUI The Metal implementation of ProgressBarUI.MetalRadioButtonUI RadioButtonUI implementation for MetalRadioButtonUIMetalRootPaneUI Provides the metal look and feel implementation ofRootPaneUI
.MetalScrollBarUI Implementation of ScrollBarUI for the Metal Look and FeelMetalScrollButton JButton object for Metal scrollbar arrows.MetalScrollPaneUI A Metal L&F implementation of ScrollPaneUI.MetalSeparatorUI A Metal L&F implementation of SeparatorUI.MetalSliderUI A Java L&F implementation of SliderUI.MetalSplitPaneUI Metal split pane.MetalTabbedPaneUI The Metal subclass of BasicTabbedPaneUI.MetalTextFieldUI Basis of a look and feel for a JTextField.MetalTheme MetalTheme
provides the color palette and fonts used by the Java Look and Feel.MetalToggleButtonUI MetalToggleButton implementationMetalToolBarUI A Metal Look and Feel implementation of ToolBarUI.MetalToolTipUI A Metal L&F extension of BasicToolTipUI.MetalTreeUI The metal look and feel implementation ofTreeUI
.OceanTheme The default theme for theMetalLookAndFeel
.