@Override public void updateUI() { setUI(new BasicToggleButtonUI()); }
public void initClassDefaults(UIDefaults table) { table.put(LuckUIClassKey.ROOTPANEUI, LuckRootPaneUI.class.getName()); table.put(LuckUIClassKey.BUTTONUI, LuckButtonUI.class.getName()); table.put(LuckUIClassKey.INTERNALFRAMEUI, LuckInternalFrameUI.class.getName()); table.put(LuckUIClassKey.OPTIONPANEUI, LuckOptionPaneUI.class.getName()); table.put(LuckUIClassKey.DESKTOPICONUI, LuckDesktopIconUI.class.getName()); table.put(LuckUIClassKey.TEXTFIELDUI, LuckTexFieldUI.class.getName()); table.put(LuckUIClassKey.PASSWORDFIELDUI, LuckPasswordFieldUI.class.getName()); table.put(LuckUIClassKey.FORMATTEDTEXTFIELDUI, LuckFormattedTextFieldUI.class.getName()); table.put(LuckUIClassKey.COMBOBOXUI, LuckComboBoxUI.class.getName()); table.put(LuckUIClassKey.POPUPMENUUI, LuckPopupMenuUI.class.getName()); table.put(LuckUIClassKey.TABBEDPANEUI, LuckTabbedPaneUI.class.getName()); table.put(LuckUIClassKey.SCROLLPANEUI, LuckScrollPaneUI.class.getName()); table.put(LuckUIClassKey.SCROLLBARUI, LuckScrollBarUI.class.getName()); table.put(LuckUIClassKey.VIEWPORTUI, LuckViewportUI.class.getName()); table.put(LuckUIClassKey.MENUBARUI, LuckMenuBarUI.class.getName()); table.put(LuckUIClassKey.MENUUI, LuckMenuUI.class.getName()); table.put(LuckUIClassKey.MENUITEMUI, LuckMenuItemUI.class.getName()); table.put(LuckUIClassKey.CHECKBOXMENUITEMUI, LuckCheckBoxMenuItemUI.class.getName()); table.put(LuckUIClassKey.RADIOBUTTONMENUITEMUI, LuckRadioBtnMenuItemUI.class.getName()); table.put(LuckUIClassKey.TREEUI, LuckTreeUI.class.getName()); table.put(LuckUIClassKey.LISTUI, LuckListUI.class.getName()); table.put(LuckUIClassKey.POPUPMENUSEPARATORUI, LuckPopupMenuSeparatorUI.class.getName()); table.put(LuckUIClassKey.TOOLTIPUI, LuckToolTipUI.class.getName()); table.put(LuckUIClassKey.SPINNERUI, LuckSpinnerUI.class.getName()); table.put(LuckUIClassKey.SLIDERUI, LuckSliderUI.class.getName()); table.put(LuckUIClassKey.TABLEHEADERUI, LuckTableHeaderUI.class.getName()); table.put(LuckUIClassKey.TABLEUI, LuckTableUI.class.getName()); table.put(LuckUIClassKey.PROGRESSBARUI, LuckProgressBarUI.class.getName()); table.put(LuckUIClassKey.FILECHOOSERUI, LuckFileChooserUI.class.getName()); table.put(LuckUIClassKey.TOOLBARUI, LuckToolBarUI.class.getName()); table.put(LuckUIClassKey.SPLITPANEUI, LuckSplitPaneUI.class.getName()); table.put(LuckUIClassKey.TOGGLEBUTTONUI, BasicToggleButtonUI.class.getName()); }