question: protected void initClassDefaults ( UIDefaults table ) { super . initClassDefaults ( table ) ; final String windowsPackageName = "com.sun.java.swing.plaf.windows." ; Object [ ] uiDefaults = { "ButtonUI" , windowsPackageName + "WindowsButtonUI" , "CheckBoxUI" , windowsPackageName + "WindowsCheckBoxUI" , "CheckBoxMenuItemUI" , windowsPackageName + "WindowsCheckBoxMenuItemUI" , "LabelUI" , windowsPackageName + "WindowsLabelUI" , "RadioButtonUI" , windowsPackageName + "WindowsRadioButtonUI" , "RadioButtonMenuItemUI" , windowsPackageName + "WindowsRadioButtonMenuItemUI" , "ToggleButtonUI" , windowsPackageName + "WindowsToggleButtonUI" , "ProgressBarUI" , windowsPackageName + "WindowsProgressBarUI" , "SliderUI" , windowsPackageName + "WindowsSliderUI" , "SeparatorUI" , windowsPackageName + "WindowsSeparatorUI" , "SplitPaneUI" , windowsPackageName + "WindowsSplitPaneUI" , "SpinnerUI" , windowsPackageName + "WindowsSpinnerUI" , "TabbedPaneUI" , windowsPackageName + "WindowsTabbedPaneUI" , "TextAreaUI" , windowsPackageName + "WindowsTextAreaUI" , "TextFieldUI" , windowsPackageName + "WindowsTextFieldUI" , "PasswordFieldUI" , windowsPackageName + "WindowsPasswordFieldUI" , "TextPaneUI" , windowsPackageName + "WindowsTextPaneUI" , "EditorPaneUI" , windowsPackageName + "WindowsEditorPaneUI" , "TreeUI" , windowsPackageName + "WindowsTreeUI" , "ToolBarUI" , windowsPackageName + "WindowsToolBarUI" , "ToolBarSeparatorUI" , windowsPackageName + "WindowsToolBarSeparatorUI" , "ComboBoxUI" , windowsPackageName + "WindowsComboBoxUI" , "TableHeaderUI" , windowsPackageName + "WindowsTableHeaderUI" , "InternalFrameUI" , windowsPackageName + "WindowsInternalFrameUI" , "DesktopPaneUI" , windowsPackageName + "WindowsDesktopPaneUI" , "DesktopIconUI" , windowsPackageName + "WindowsDesktopIconUI" , "FileChooserUI" , windowsPackageName + "WindowsFileChooserUI" , "MenuUI" , windowsPackageName + "WindowsMenuUI" , "MenuItemUI" , windowsPackageName + "WindowsMenuItemUI" , "MenuBarUI" , windowsPackageName + "WindowsMenuBarUI" , "PopupMenuUI" , windowsPackageName + "WindowsPopupMenuUI" , "PopupMenuSeparatorUI" , windowsPackageName + "WindowsPopupMenuSeparatorUI" , "ScrollBarUI" , windowsPackageName + "WindowsScrollBarUI" , "RootPaneUI" , windowsPackageName + "WindowsRootPaneUI" } ; table . putDefaults ( uiDefaults ) ; }
target:  Initialize the uiClassID to BasicComponentUI mapping. The JComponent classes define their own uiClassID constants (see AbstractComponent.getUIClassID).  This table must map those constants to a BasicComponentUI class of the appropriate type.