@@ -392,6 +392,7 @@ protected void initSystemColorDefaults(UIDefaults table) {
392392 "textHighlight" , "#B8CFE5" , /* Text color when selected */
393393 "textHighlightText" , "#000000" , /* Text color when selected */
394394 "textInactiveText" , "#808080" , /* Text color when disabled */
395+ "control2" , "#E0E0E0" , // slightly darker than control
395396 "control" , "#EEEEEE" , // SECONDARY3 Default color for controls (buttons, sliders, etc)
396397 "controlText" , "#333333" , // Default color for text in controls
397398 "controlHighlight" , "#C0C0C0" , /*
@@ -548,6 +549,7 @@ protected void initComponentDefaults(UIDefaults table) {
548549 ColorUIResource scrollBarTrack = new ColorUIResource (224 , 224 , 224 );
549550
550551 Color control = table .getColor ("control" );
552+ Color control2 = table .getColor ("control2" );
551553 Color controlDkShadow = table .getColor ("controlDkShadow" );
552554 Color controlHighlight = table .getColor ("controlHighlight" );
553555 Color controlLtHighlight = table .getColor ("controlLtHighlight" );
@@ -900,7 +902,7 @@ public Object createValue(UIDefaults table) {
900902 // *** Buttons
901903 // "Button.defaultButtonFollowsFocus", Boolean.TRUE,
902904 // "Button.font", dialogPlain12,
903- "Button.background" , control ,
905+ "Button.background" , control2 ,
904906 "Button.foreground" , controlText ,
905907 "Button.inactiveForeground" , disabledTextColor ,
906908 // "Button.shadow", controlShadow,
0 commit comments