"TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1), "TabbedPane.tabAreaInsets", new InsetsUIResource(4, 2, 0, 6),  "ToggleButton.background", new ColorUIResource(getControl()),
"Table.background", getWindowBackground(), "Table.focusCellBackground", getWindowBackground(), "Table.focusCellForeground", getControlTextColor(), "Table.foreground", getControlTextColor(), "Table.focusCellHighlightBorder", getControlShadow(), "Table.focusCellBackground", getWindowBackground(), "Table.gridColor", getControlShadow(),  "TableHeader.background", getControl(), "TableHeader.foreground", getControlTextColor(),  "TextArea.background", getWindowBackground(), "TextArea.caretForeground", getUserTextColor(), "TextArea.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TextArea.foreground", getUserTextColor(), "TextArea.inactiveForeground", getInactiveSystemTextColor(), "TextArea.selectionBackground", getTextHighlightColor(), "TextArea.selectionForeground", getHighlightedTextColor(),  "TextField.background", getWindowBackground(), "TextField.border", MetalBorders.getTextFieldBorder(), "TextField.caretForeground", getUserTextColor(), "TextField.darkShadow", getControlDarkShadow(), "TextField.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TextField.foreground", getUserTextColor(), "TextField.highlight", getControlHighlight(), "TextField.inactiveBackground", getControl(), "TextField.inactiveForeground", getInactiveSystemTextColor(), "TextField.light", getControlHighlight(), "TextField.selectionBackground", getTextHighlightColor(), "TextField.selectionForeground", getHighlightedTextColor(), "TextField.shadow", getControlShadow(),  "TextPane.background", getWindowBackground(), "TextPane.caretForeground", getUserTextColor(), "TextPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TextPane.foreground", getUserTextColor(), "TextPane.inactiveForeground", getInactiveSystemTextColor(), "TextPane.selectionBackground", getTextHighlightColor(), "TextPane.selectionForeground", getHighlightedTextColor(),  "TitledBorder.font", new FontUIResource("Dialog", Font.BOLD, 12), "TitledBorder.titleColor", getSystemTextColor(),  "ToggleButton.background", getControl(),
  protected void initComponentDefaults(UIDefaults defaults)  {    super.initComponentDefaults(defaults);    Object[] myDefaults = new Object[] {      "Button.background", new ColorUIResource(getControl()),      "Button.border", MetalBorders.getButtonBorder(),      "Button.darkShadow", new ColorUIResource(getControlDarkShadow()),      "Button.disabledText", new ColorUIResource(getControlDisabled()),      "Button.focus", new ColorUIResource(getFocusColor()),      "Button.font", getControlTextFont(),      "Button.foreground", new ColorUIResource(getSystemTextColor()),      "Button.highlight", new ColorUIResource(getControlHighlight()),      "Button.light", new ColorUIResource(getControlHighlight()),      "Button.margin", new Insets(2, 14, 2, 14),      "Button.select", new ColorUIResource(getPrimaryControlShadow()),      "Button.shadow", new ColorUIResource(getPrimaryControlShadow()),      "CheckBox.background", new ColorUIResource(getControl()),      "CheckBox.border", MetalBorders.getButtonBorder(),      "CheckBox.icon",      new UIDefaults.ProxyLazyValue          ("javax.swing.plaf.metal.MetalCheckBoxIcon"),      "CheckBox.checkIcon",      new UIDefaults.ProxyLazyValue      ("javax.swing.plaf.metal.MetalCheckBoxIcon"),      "CheckBoxMenuItem.background", new ColorUIResource(getControl()),      "CheckBoxMenuItem.checkIcon", MetalIconFactory.getCheckBoxMenuItemIcon(),      "ToolBar.background", new ColorUIResource(getControl()),      "Panel.background", new ColorUIResource(getControl()),      "Slider.background", new ColorUIResource(getControl()),      "OptionPane.background", new ColorUIResource(getControl()),      "ProgressBar.background", new ColorUIResource(getControl()),      "ScrollPane.border", new MetalBorders.ScrollPaneBorder(),      "TabbedPane.background", new ColorUIResource(getControl()),      "InternalFrame.border", new MetalBorders.InternalFrameBorder(),      "InternalFrame.icon", MetalIconFactory.getInternalFrameDefaultMenuIcon(),      "InternalFrame.closeIcon",         MetalIconFactory.getInternalFrameCloseIcon(16),      "InternalFrame.maximizeIcon",         MetalIconFactory.getInternalFrameMaximizeIcon(16),      "InternalFrame.iconifyIcon",         MetalIconFactory.getInternalFrameMinimizeIcon(16),      "Label.background", new ColorUIResource(getControl()),      "Label.font", getControlTextFont(),      "Label.disabledForeground", new ColorUIResource(getInactiveControlTextColor()),      "Label.foreground", new ColorUIResource(getControlTextColor()),      "Menu.background", new ColorUIResource(getControl()),      "Menu.border", new MetalBorders.MenuItemBorder(),      "Menu.borderPainted", Boolean.TRUE,      "Menu.font", getControlTextFont(),      "Menu.selectionBackground", getMenuSelectedBackground(),      "Menu.selectionForeground", getMenuSelectedForeground(),      "MenuBar.background", new ColorUIResource(getControl()),      "MenuBar.border", new MetalBorders.MenuBarBorder(),      "MenuBar.font", getControlTextFont(),      "MenuItem.background", new ColorUIResource(getControl()),      "MenuItem.border", new MetalBorders.MenuItemBorder(),      "MenuItem.font", getControlTextFont(),      "MenuItem.selectionBackground", getMenuSelectedBackground(),      "MenuItem.selectionForeground", getMenuSelectedForeground(),      "Panel.background", new ColorUIResource(getControl()),      "RadioButton.icon",      new UIDefaults.LazyValue()      {        public Object createValue(UIDefaults def)          {            return MetalIconFactory.getRadioButtonIcon();          }      },      "RadioButtonMenuItem.border", new MetalBorders.MenuItemBorder(),      "RadioButtonMenuItem.borderPainted", Boolean.TRUE,      "RadioButtonMenuItem.checkIcon",         MetalIconFactory.getRadioButtonMenuItemIcon(),      "RadioButtonMenuItem.font", MetalLookAndFeel.getControlTextFont(),      "RadioButtonMenuItem.margin", new InsetsUIResource(2, 2, 2, 2),      "RadioButtonMenuItem.selectionBackground",         MetalLookAndFeel.getMenuSelectedBackground(),      "RadioButtonMenuItem.selectionForeground",         MetalLookAndFeel.getMenuSelectedForeground(),      "ScrollBar.background", new ColorUIResource(getControl()),      "ScrollBar.shadow", new ColorUIResource(getControlShadow()),      "ScrollBar.thumb", new ColorUIResource(getPrimaryControlShadow()),      "ScrollBar.thumbDarkShadow",      new ColorUIResource(getPrimaryControlDarkShadow()),      "ScrollBar.thumbHighlight",      new ColorUIResource(getPrimaryControl()),      "SplitPane.darkShadow",      new ColorUIResource(getControlDarkShadow()),      "SplitPane.highlight",      new ColorUIResource(getControlHighlight()),      "Slider.focusInsets", new InsetsUIResource(0, 0, 0, 0),      "Slider.horizontalThumbIcon",       MetalIconFactory.getHorizontalSliderThumbIcon(),      "Slider.verticalThumbIcon",       MetalIconFactory.getVerticalSliderThumbIcon(),      "Slider.trackWidth", new Integer(7),      "Slider.majorTickLength", new Integer(6),            "TabbedPane.font", new FontUIResource("Dialog", Font.BOLD, 12),      "TabbedPane.tabInsets", new InsetsUIResource(0, 9, 1, 9),      "TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1),      "TabbedPane.tabAreaInsets", new InsetsUIResource(4, 2, 0, 6),      "ToggleButton.background", new ColorUIResource(getControl()),      "ToggleButton.border", MetalBorders.getButtonBorder(),      "ToggleButton.darkShadow", new ColorUIResource(getControlDarkShadow()),      "ToggleButton.disabledText", new ColorUIResource(getControlDisabled()),      "ToggleButton.focus", new ColorUIResource(getFocusColor()),      "ToggleButton.font", getControlTextFont(),      "ToggleButton.foreground", new ColorUIResource(getSystemTextColor()),      "ToggleButton.highlight", new ColorUIResource(getControlHighlight()),      "ToggleButton.light", new ColorUIResource(getControlHighlight()),      "ToggleButton.margin", new Insets(2, 14, 2, 14),      "ToggleButton.select", new ColorUIResource(getPrimaryControlShadow()),      "ToggleButton.shadow", new ColorUIResource(getPrimaryControlShadow()),      "Tree.openIcon", MetalIconFactory.getTreeFolderIcon(),      "Tree.closedIcon", MetalIconFactory.getTreeFolderIcon(),      "Tree.leafIcon", MetalIconFactory.getTreeLeafIcon(),      "Tree.collapsedIcon", MetalIconFactory.getTreeControlIcon(true),      "Tree.expandedIcon", MetalIconFactory.getTreeControlIcon(false),      "Tree.font", new FontUIResource(new Font("Helvetica", Font.PLAIN, 12)),      "Tree.background", new ColorUIResource(Color.white),      "Tree.foreground", new ColorUIResource(new Color(204, 204, 255)),      "Tree.hash", new ColorUIResource(new Color(204, 204, 255)),      "Tree.leftChildIndent", new Integer(7),      "Tree.rightChildIndent", new Integer(13),      "Tree.rowHeight", new Integer(20),      "Tree.scrollsOnExpand", Boolean.TRUE,      "Tree.selectionBackground", new ColorUIResource(new Color(204, 204, 255)),      "Tree.nonSelectionBackground", new ColorUIResource(Color.white),      "Tree.selectionBorderColor", new ColorUIResource(new Color(102, 102, 153)),      "Tree.selectionBorder", new BorderUIResource.LineBorderUIResource(new Color(102, 102, 153)),      "Tree.nonSelectionBorder", new BorderUIResource.LineBorderUIResource(Color.white),      "Tree.selectionForeground", new ColorUIResource(Color.black),      "Tree.textBackground", new ColorUIResource(new Color(204, 204, 255)),      "Tree.textForeground", new ColorUIResource(Color.black),      "Tree.selectionForeground", new ColorUIResource(Color.black),      "PopupMenu.border", new MetalBorders.PopupMenuBorder()    };    defaults.putDefaults(myDefaults);  }