Creating a New UI Delegate : UI Delegate « Swing « Java Tutorial






Swing Component        Class ID String         Implementation Class

JButton                ButtonUI                ButtonUI

JCheckBox              CheckBoxUI              ButtonUI

JCheckBoxMenuItem      CheckBoxMenuItemUI      MenuItemUI

JColorChooser          ColorChooserUI          ColorChooserUI

JComboBox              ComboBoxUI              ComboBoxUI

JComponent             n/a                     ComponentUI

JDesktopPane           DesktopPaneUI           DesktopPaneUI

JEditorPane            EditorPaneUI            TextUI

JFileChooser           FileChooserUI           FileChooserUI

JFormattedTextField    FormattedTextFieldUI    TextUI

JInternalFrame         InternalFrameUI         InternalFrameUI

JInternalFrame.JDesktopIcon DesktopIconUI      DesktopIconUI

JLabel                 LabelUI                 LabelUI

JList                  ListUI                  ListUI

JMenu                  MenuUI                  MenuItemUI

JMenuBar               MenuBarUI               MenuBarUI

JMenuItem              MenuItemUI              MenuItemUI

JOptionPane            OptionPaneUI            OptionPaneUI

JPanel                 PanelUI                 PanelUI

JPasswordField         PasswordFieldUI         TextUI

JPopupMenu             PopupMenuUI             PopupMenuUI

JPopupMenu.Separator   PopupMenuSeparatorUI    SeparatorUI

JProgressBar           ProgressBarUI           ProgressBarUI

JRadioButton           RadioButtonUI           ButtonUI

JRadioButtonMenuItem   RadioButtonMenuItemUI   MenuItemUI

JRootPane              RootPaneUI              RootPaneUI

JScrollBar             ScrollBarUI             ScrollBarUI

JScrollPane            ScrollPaneUI            ScrollPaneUI

JSeparator             SeparatorUI             SeparatorUI

JSlider                SliderUI                SliderUI

JSpinner               SpinnerUI               SpinnerUI

JSplitPane             SplitPaneUI             SplitPaneUI

JTabbedPane            TabbedPaneUI            TabbedPaneUI

JTable                 TableUI                 TableUI

JTableHeader           TableHeaderUI           TableHeaderUI

JTextArea              TextAreaUI              TextUI

JTextField             TextFieldUI             TextUI

JTextPane              TextPaneUI              TextUI

JToggleButton          ToggleButtonUI          ButtonUI

JToolBar               ToolBarUI               ToolBarUI

JToolBar.Separator     ToolBarSeparatorUI      SeparatorUI

JToolTip               ToolTipUI               ToolTipUI

JTree                  TreeUI                  TreeUI

JViewport              ViewportUI              ViewportUI








14.120.UI Delegate
14.120.1.Creating a New UI Delegate
14.120.2.Using Customized ComboBoxUIUsing Customized ComboBoxUI