"Label.disabledForeground", new ColorUIResource(getControlDisabled()), "Label.foreground", new ColorUIResource(getSystemTextColor()),
"Label.disabledForeground", new ColorUIResource(getInactiveControlTextColor()), "Label.foreground", new ColorUIResource(getControlTextColor()),
  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(getControlDisabled()),      "Label.foreground", new ColorUIResource(getSystemTextColor()),      "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();          }      },      "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),            "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);  }