Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16);  Object[] uiDefaults; uiDefaults = new Object[] { "activeCaption", new ColorUIResource(0, 0, 128), "activeCaptionBorder", new ColorUIResource(Color.lightGray), "activeCaptionText", new ColorUIResource(Color.white), "control", new ColorUIResource(light), "controlDkShadow", new ColorUIResource(shadow), "controlHighlight", new ColorUIResource(highLight), "controlLtHighlight", new ColorUIResource(highLight), "controlShadow", new ColorUIResource(shadow), "controlText", new ColorUIResource(darkShadow), "desktop", new ColorUIResource(0, 92, 92), "inactiveCaption", new ColorUIResource(Color.gray), "inactiveCaptionBorder", new ColorUIResource(Color.lightGray), "inactiveCaptionText", new ColorUIResource(Color.lightGray), "info", new ColorUIResource(light), "infoText", new ColorUIResource(darkShadow), "menu", new ColorUIResource(light), "menuText", new ColorUIResource(darkShadow), "scrollbar", new ColorUIResource(light), "text", new ColorUIResource(Color.white), "textHighlight", new ColorUIResource(Color.black), "textHighlightText", new ColorUIResource(Color.white), "textInactiveText", new ColorUIResource(Color.gray), "textText", new ColorUIResource(Color.black), "window", new ColorUIResource(light), "windowBorder", new ColorUIResource(Color.black), "windowText", new ColorUIResource(darkShadow)
String[] defaultColors = new String[] { "activeCaption", "#000080", "activeCaptionBorder", "#C0C0C0", "activeCaptionText", "#FFFFFF", "control", "#C0C0C0", "controlDkShadow", "#000000", "controlHighlight", "#C0C0C0", "controlLtHighlight", "#FFFFFF", "controlShadow", "#808080", "controlText", "#000000", "desktop", "#005C5C", "inactiveCaption", "#808080", "inactiveCaptionBorder", "#C0C0C0", "inactiveCaptionText", "#C0C0C0", "info", "#FFFFE1", "infoText", "#000000", "menu", "#C0C0C0", "menuText", "#000000", "scrollbar", "#E0E0E0", "text", "#C0C0C0", "textHighlight", "#000080", "textHighlightText", "#FFFFFF", "textInactiveText", "#808080", "textText", "#000000", "window", "#FFFFFF", "windowBorder", "#000000", "windowText", "#000000"
  protected void initSystemColorDefaults(UIDefaults defaults)  {    Color highLight = new Color(249, 247, 246);    Color light = new Color(239, 235, 231);    Color shadow = new Color(139, 136, 134);    Color darkShadow = new Color(16, 16, 16);    Object[] uiDefaults;    uiDefaults = new Object[] {      "activeCaption", new ColorUIResource(0, 0, 128),      "activeCaptionBorder", new ColorUIResource(Color.lightGray),      "activeCaptionText", new ColorUIResource(Color.white),      "control", new ColorUIResource(light),      "controlDkShadow", new ColorUIResource(shadow),      "controlHighlight", new ColorUIResource(highLight),      "controlLtHighlight", new ColorUIResource(highLight),      "controlShadow", new ColorUIResource(shadow),      "controlText", new ColorUIResource(darkShadow),      "desktop", new ColorUIResource(0, 92, 92),      "inactiveCaption", new ColorUIResource(Color.gray),      "inactiveCaptionBorder", new ColorUIResource(Color.lightGray),      "inactiveCaptionText", new ColorUIResource(Color.lightGray),      "info", new ColorUIResource(light),      "infoText", new ColorUIResource(darkShadow),      "menu", new ColorUIResource(light),      "menuText", new ColorUIResource(darkShadow),      "scrollbar", new ColorUIResource(light),      "text", new ColorUIResource(Color.white),      "textHighlight", new ColorUIResource(Color.black),      "textHighlightText", new ColorUIResource(Color.white),      "textInactiveText", new ColorUIResource(Color.gray),      "textText", new ColorUIResource(Color.black),      "window", new ColorUIResource(light),      "windowBorder", new ColorUIResource(Color.black),      "windowText", new ColorUIResource(darkShadow)    };    defaults.putDefaults(uiDefaults);  }