src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java

Print this page




 616             t -> MetalBorders.getToggleButtonBorder();
 617 
 618         LazyValue titledBorderBorder =
 619             t -> new BorderUIResource.LineBorderUIResource(controlShadow);
 620 
 621         LazyValue desktopIconBorder =
 622             t -> MetalBorders.getDesktopIconBorder();
 623 
 624         LazyValue menuBarBorder =
 625             t -> new MetalBorders.MenuBarBorder();
 626 
 627         LazyValue popupMenuBorder =
 628             t -> new MetalBorders.PopupMenuBorder();
 629         LazyValue menuItemBorder =
 630             t -> new MetalBorders.MenuItemBorder();
 631 
 632         Object menuItemAcceleratorDelimiter = "-";
 633         LazyValue toolBarBorder = t -> new MetalBorders.ToolBarBorder();
 634 
 635         LazyValue progressBarBorder = t ->
 636             new BorderUIResource.LineBorderUIResource(controlDarkShadow, new Integer(1));
 637 
 638         LazyValue toolTipBorder = t ->
 639             new BorderUIResource.LineBorderUIResource(primaryControlDarkShadow);
 640 
 641         LazyValue toolTipBorderInactive = t ->
 642             new BorderUIResource.LineBorderUIResource(controlDarkShadow);
 643 
 644         LazyValue focusCellHighlightBorder = t ->
 645             new BorderUIResource.LineBorderUIResource(focusColor);
 646 
 647         Object tabbedPaneTabAreaInsets = new InsetsUIResource(4, 2, 0, 6);
 648 
 649         Object tabbedPaneTabInsets = new InsetsUIResource(0, 9, 1, 9);
 650 
 651         int internalFrameIconSize = 16;
 652 
 653         Object[] defaultCueList = new Object[] {
 654                 "OptionPane.errorSound",
 655                 "OptionPane.informationSound",
 656                 "OptionPane.questionSound",


 834                  }),
 835 
 836 
 837             // ToolTip
 838             "ToolTip.font", systemTextValue,
 839             "ToolTip.border", toolTipBorder,
 840             "ToolTip.borderInactive", toolTipBorderInactive,
 841             "ToolTip.backgroundInactive", control,
 842             "ToolTip.foregroundInactive", controlDarkShadow,
 843             "ToolTip.hideAccelerator", Boolean.FALSE,
 844 
 845             // ToolTipManager
 846             "ToolTipManager.enableToolTipMode", "activeApplication",
 847 
 848             // Slider Defaults
 849             "Slider.font", controlTextValue,
 850             "Slider.border", null,
 851             "Slider.foreground", primaryControlShadow,
 852             "Slider.focus", focusColor,
 853             "Slider.focusInsets", zeroInsets,
 854             "Slider.trackWidth", new Integer( 7 ),
 855             "Slider.majorTickLength", new Integer( 6 ),
 856             "Slider.horizontalThumbIcon",(LazyValue) t -> MetalIconFactory.getHorizontalSliderThumbIcon(),
 857             "Slider.verticalThumbIcon",(LazyValue) t -> MetalIconFactory.getVerticalSliderThumbIcon(),
 858             "Slider.focusInputMap",
 859                new UIDefaults.LazyInputMap(new Object[] {
 860                        "RIGHT", "positiveUnitIncrement",
 861                     "KP_RIGHT", "positiveUnitIncrement",
 862                         "DOWN", "negativeUnitIncrement",
 863                      "KP_DOWN", "negativeUnitIncrement",
 864                    "PAGE_DOWN", "negativeBlockIncrement",
 865               "ctrl PAGE_DOWN", "negativeBlockIncrement",
 866                         "LEFT", "negativeUnitIncrement",
 867                      "KP_LEFT", "negativeUnitIncrement",
 868                           "UP", "positiveUnitIncrement",
 869                        "KP_UP", "positiveUnitIncrement",
 870                      "PAGE_UP", "positiveBlockIncrement",
 871                 "ctrl PAGE_UP", "positiveBlockIncrement",
 872                         "HOME", "minScroll",
 873                          "END", "maxScroll"
 874                  }),
 875 


 897                     "KP_DOWN", "selectNext",
 898                    "alt DOWN", "togglePopup",
 899                 "alt KP_DOWN", "togglePopup",
 900                      "alt UP", "togglePopup",
 901                   "alt KP_UP", "togglePopup",
 902                       "SPACE", "spacePopup",
 903                      "ENTER", "enterPressed",
 904                          "UP", "selectPrevious",
 905                       "KP_UP", "selectPrevious"
 906               }),
 907 
 908             // Internal Frame Defaults
 909             "InternalFrame.icon",(LazyValue) t ->
 910                     MetalIconFactory.getInternalFrameDefaultMenuIcon(),
 911             "InternalFrame.border",(LazyValue) t ->
 912                     new MetalBorders.InternalFrameBorder(),
 913             "InternalFrame.optionDialogBorder",(LazyValue) t ->
 914                     new MetalBorders.OptionDialogBorder(),
 915             "InternalFrame.paletteBorder",(LazyValue) t ->
 916                     new MetalBorders.PaletteBorder(),
 917             "InternalFrame.paletteTitleHeight", new Integer(11),
 918             "InternalFrame.paletteCloseIcon",(LazyValue) t ->
 919                     new MetalIconFactory.PaletteCloseIcon(),
 920             "InternalFrame.closeIcon",
 921                (LazyValue) t -> MetalIconFactory.
 922                        getInternalFrameCloseIcon(internalFrameIconSize),
 923             "InternalFrame.maximizeIcon",
 924                (LazyValue) t -> MetalIconFactory.
 925                        getInternalFrameMaximizeIcon(internalFrameIconSize),
 926             "InternalFrame.iconifyIcon",
 927                (LazyValue) t -> MetalIconFactory.
 928                        getInternalFrameMinimizeIcon(internalFrameIconSize),
 929             "InternalFrame.minimizeIcon",
 930                (LazyValue) t -> MetalIconFactory.
 931                        getInternalFrameAltMaximizeIcon(internalFrameIconSize),
 932             "InternalFrame.titleFont",  windowTitleValue,
 933             "InternalFrame.windowBindings", null,
 934             // Internal Frame Auditory Cue Mappings
 935             "InternalFrame.closeSound", "sounds/FrameClose.wav",
 936             "InternalFrame.maximizeSound", "sounds/FrameMaximize.wav",
 937             "InternalFrame.minimizeSound", "sounds/FrameMinimize.wav",


1050                   "shift PAGE_DOWN", "scrollDownExtendSelection",
1051              "ctrl shift PAGE_DOWN", "scrollDownExtendSelection",
1052                    "ctrl PAGE_DOWN", "scrollDownChangeLead",
1053                            "ctrl A", "selectAll",
1054                        "ctrl SLASH", "selectAll",
1055                   "ctrl BACK_SLASH", "clearSelection",
1056                             "SPACE", "addToSelection",
1057                        "ctrl SPACE", "toggleAndAnchor",
1058                       "shift SPACE", "extendTo",
1059                  "ctrl shift SPACE", "moveSelectionTo"
1060                  }),
1061 
1062             // ScrollBar
1063             "ScrollBar.background", control,
1064             "ScrollBar.highlight", controlHighlight,
1065             "ScrollBar.shadow", controlShadow,
1066             "ScrollBar.darkShadow", controlDarkShadow,
1067             "ScrollBar.thumb", primaryControlShadow,
1068             "ScrollBar.thumbShadow", primaryControlDarkShadow,
1069             "ScrollBar.thumbHighlight", primaryControl,
1070             "ScrollBar.width", new Integer( 17 ),
1071             "ScrollBar.allowsAbsolutePositioning", Boolean.TRUE,
1072             "ScrollBar.ancestorInputMap",
1073                new UIDefaults.LazyInputMap(new Object[] {
1074                        "RIGHT", "positiveUnitIncrement",
1075                     "KP_RIGHT", "positiveUnitIncrement",
1076                         "DOWN", "positiveUnitIncrement",
1077                      "KP_DOWN", "positiveUnitIncrement",
1078                    "PAGE_DOWN", "positiveBlockIncrement",
1079                         "LEFT", "negativeUnitIncrement",
1080                      "KP_LEFT", "negativeUnitIncrement",
1081                           "UP", "negativeUnitIncrement",
1082                        "KP_UP", "negativeUnitIncrement",
1083                      "PAGE_UP", "negativeBlockIncrement",
1084                         "HOME", "minScroll",
1085                          "END", "maxScroll"
1086                  }),
1087 
1088             // ScrollPane
1089             "ScrollPane.border", scrollPaneBorder,
1090             "ScrollPane.ancestorInputMap",


1221                 SwingUtilities2.makeIcon(getClass(), MetalLookAndFeel.class,
1222                 "icons/sortUp.png"),
1223             "Table.descendingSortIcon",
1224                 SwingUtilities2.makeIcon(getClass(), MetalLookAndFeel.class,
1225                 "icons/sortDown.png"),
1226 
1227             "TableHeader.font", userTextValue,
1228             "TableHeader.cellBorder",(LazyValue) t -> new MetalBorders.TableHeaderBorder(),
1229 
1230             // MenuBar
1231             "MenuBar.border", menuBarBorder,
1232             "MenuBar.font", menuTextValue,
1233             "MenuBar.windowBindings", new Object[] {
1234                 "F10", "takeFocus" },
1235 
1236             // Menu
1237             "Menu.border", menuItemBorder,
1238             "Menu.borderPainted", Boolean.TRUE,
1239             "Menu.menuPopupOffsetX", zero,
1240             "Menu.menuPopupOffsetY", zero,
1241             "Menu.submenuPopupOffsetX", new Integer(-4),
1242             "Menu.submenuPopupOffsetY", new Integer(-3),
1243             "Menu.font", menuTextValue,
1244             "Menu.selectionForeground", menuSelectedForeground,
1245             "Menu.selectionBackground", menuSelectedBackground,
1246             "Menu.disabledForeground", menuDisabledForeground,
1247             "Menu.acceleratorFont", subTextValue,
1248             "Menu.acceleratorForeground", acceleratorForeground,
1249             "Menu.acceleratorSelectionForeground", acceleratorSelectedForeground,
1250             "Menu.checkIcon",(LazyValue) t -> MetalIconFactory.getMenuItemCheckIcon(),
1251             "Menu.arrowIcon",(LazyValue) t -> MetalIconFactory.getMenuArrowIcon(),
1252 
1253             // Menu Item
1254             "MenuItem.border", menuItemBorder,
1255             "MenuItem.borderPainted", Boolean.TRUE,
1256             "MenuItem.font", menuTextValue,
1257             "MenuItem.selectionForeground", menuSelectedForeground,
1258             "MenuItem.selectionBackground", menuSelectedBackground,
1259             "MenuItem.disabledForeground", menuDisabledForeground,
1260             "MenuItem.acceleratorFont", subTextValue,
1261             "MenuItem.acceleratorForeground", acceleratorForeground,
1262             "MenuItem.acceleratorSelectionForeground", acceleratorSelectedForeground,


1337             "RadioButtonMenuItem.acceleratorForeground", acceleratorForeground,
1338             "RadioButtonMenuItem.acceleratorSelectionForeground", acceleratorSelectedForeground,
1339             "RadioButtonMenuItem.checkIcon",(LazyValue) t -> MetalIconFactory.getRadioButtonMenuItemIcon(),
1340             "RadioButtonMenuItem.arrowIcon",(LazyValue) t -> MetalIconFactory.getMenuItemArrowIcon(),
1341             "RadioButtonMenuItem.commandSound", "sounds/MenuItemCommand.wav",
1342 
1343             "Spinner.ancestorInputMap",
1344                new UIDefaults.LazyInputMap(new Object[] {
1345                                "UP", "increment",
1346                             "KP_UP", "increment",
1347                              "DOWN", "decrement",
1348                           "KP_DOWN", "decrement",
1349                }),
1350             "Spinner.arrowButtonInsets", zeroInsets,
1351             "Spinner.border", textFieldBorder,
1352             "Spinner.arrowButtonBorder", buttonBorder,
1353             "Spinner.font", controlTextValue,
1354 
1355             // SplitPane
1356 
1357             "SplitPane.dividerSize", new Integer(10),
1358             "SplitPane.ancestorInputMap",
1359                new UIDefaults.LazyInputMap(new Object[] {
1360                         "UP", "negativeIncrement",
1361                       "DOWN", "positiveIncrement",
1362                       "LEFT", "negativeIncrement",
1363                      "RIGHT", "positiveIncrement",
1364                      "KP_UP", "negativeIncrement",
1365                    "KP_DOWN", "positiveIncrement",
1366                    "KP_LEFT", "negativeIncrement",
1367                   "KP_RIGHT", "positiveIncrement",
1368                       "HOME", "selectMin",
1369                        "END", "selectMax",
1370                         "F8", "startResize",
1371                         "F6", "toggleFocus",
1372                   "ctrl TAB", "focusOutForward",
1373             "ctrl shift TAB", "focusOutBackward"
1374                  }),
1375             "SplitPane.centerOneTouchButtons", Boolean.FALSE,
1376             "SplitPane.dividerFocusColor", primaryControl,
1377 




 616             t -> MetalBorders.getToggleButtonBorder();
 617 
 618         LazyValue titledBorderBorder =
 619             t -> new BorderUIResource.LineBorderUIResource(controlShadow);
 620 
 621         LazyValue desktopIconBorder =
 622             t -> MetalBorders.getDesktopIconBorder();
 623 
 624         LazyValue menuBarBorder =
 625             t -> new MetalBorders.MenuBarBorder();
 626 
 627         LazyValue popupMenuBorder =
 628             t -> new MetalBorders.PopupMenuBorder();
 629         LazyValue menuItemBorder =
 630             t -> new MetalBorders.MenuItemBorder();
 631 
 632         Object menuItemAcceleratorDelimiter = "-";
 633         LazyValue toolBarBorder = t -> new MetalBorders.ToolBarBorder();
 634 
 635         LazyValue progressBarBorder = t ->
 636             new BorderUIResource.LineBorderUIResource(controlDarkShadow, 1);
 637 
 638         LazyValue toolTipBorder = t ->
 639             new BorderUIResource.LineBorderUIResource(primaryControlDarkShadow);
 640 
 641         LazyValue toolTipBorderInactive = t ->
 642             new BorderUIResource.LineBorderUIResource(controlDarkShadow);
 643 
 644         LazyValue focusCellHighlightBorder = t ->
 645             new BorderUIResource.LineBorderUIResource(focusColor);
 646 
 647         Object tabbedPaneTabAreaInsets = new InsetsUIResource(4, 2, 0, 6);
 648 
 649         Object tabbedPaneTabInsets = new InsetsUIResource(0, 9, 1, 9);
 650 
 651         int internalFrameIconSize = 16;
 652 
 653         Object[] defaultCueList = new Object[] {
 654                 "OptionPane.errorSound",
 655                 "OptionPane.informationSound",
 656                 "OptionPane.questionSound",


 834                  }),
 835 
 836 
 837             // ToolTip
 838             "ToolTip.font", systemTextValue,
 839             "ToolTip.border", toolTipBorder,
 840             "ToolTip.borderInactive", toolTipBorderInactive,
 841             "ToolTip.backgroundInactive", control,
 842             "ToolTip.foregroundInactive", controlDarkShadow,
 843             "ToolTip.hideAccelerator", Boolean.FALSE,
 844 
 845             // ToolTipManager
 846             "ToolTipManager.enableToolTipMode", "activeApplication",
 847 
 848             // Slider Defaults
 849             "Slider.font", controlTextValue,
 850             "Slider.border", null,
 851             "Slider.foreground", primaryControlShadow,
 852             "Slider.focus", focusColor,
 853             "Slider.focusInsets", zeroInsets,
 854             "Slider.trackWidth",  7 ,
 855             "Slider.majorTickLength",  6 ,
 856             "Slider.horizontalThumbIcon",(LazyValue) t -> MetalIconFactory.getHorizontalSliderThumbIcon(),
 857             "Slider.verticalThumbIcon",(LazyValue) t -> MetalIconFactory.getVerticalSliderThumbIcon(),
 858             "Slider.focusInputMap",
 859                new UIDefaults.LazyInputMap(new Object[] {
 860                        "RIGHT", "positiveUnitIncrement",
 861                     "KP_RIGHT", "positiveUnitIncrement",
 862                         "DOWN", "negativeUnitIncrement",
 863                      "KP_DOWN", "negativeUnitIncrement",
 864                    "PAGE_DOWN", "negativeBlockIncrement",
 865               "ctrl PAGE_DOWN", "negativeBlockIncrement",
 866                         "LEFT", "negativeUnitIncrement",
 867                      "KP_LEFT", "negativeUnitIncrement",
 868                           "UP", "positiveUnitIncrement",
 869                        "KP_UP", "positiveUnitIncrement",
 870                      "PAGE_UP", "positiveBlockIncrement",
 871                 "ctrl PAGE_UP", "positiveBlockIncrement",
 872                         "HOME", "minScroll",
 873                          "END", "maxScroll"
 874                  }),
 875 


 897                     "KP_DOWN", "selectNext",
 898                    "alt DOWN", "togglePopup",
 899                 "alt KP_DOWN", "togglePopup",
 900                      "alt UP", "togglePopup",
 901                   "alt KP_UP", "togglePopup",
 902                       "SPACE", "spacePopup",
 903                      "ENTER", "enterPressed",
 904                          "UP", "selectPrevious",
 905                       "KP_UP", "selectPrevious"
 906               }),
 907 
 908             // Internal Frame Defaults
 909             "InternalFrame.icon",(LazyValue) t ->
 910                     MetalIconFactory.getInternalFrameDefaultMenuIcon(),
 911             "InternalFrame.border",(LazyValue) t ->
 912                     new MetalBorders.InternalFrameBorder(),
 913             "InternalFrame.optionDialogBorder",(LazyValue) t ->
 914                     new MetalBorders.OptionDialogBorder(),
 915             "InternalFrame.paletteBorder",(LazyValue) t ->
 916                     new MetalBorders.PaletteBorder(),
 917             "InternalFrame.paletteTitleHeight", 11,
 918             "InternalFrame.paletteCloseIcon",(LazyValue) t ->
 919                     new MetalIconFactory.PaletteCloseIcon(),
 920             "InternalFrame.closeIcon",
 921                (LazyValue) t -> MetalIconFactory.
 922                        getInternalFrameCloseIcon(internalFrameIconSize),
 923             "InternalFrame.maximizeIcon",
 924                (LazyValue) t -> MetalIconFactory.
 925                        getInternalFrameMaximizeIcon(internalFrameIconSize),
 926             "InternalFrame.iconifyIcon",
 927                (LazyValue) t -> MetalIconFactory.
 928                        getInternalFrameMinimizeIcon(internalFrameIconSize),
 929             "InternalFrame.minimizeIcon",
 930                (LazyValue) t -> MetalIconFactory.
 931                        getInternalFrameAltMaximizeIcon(internalFrameIconSize),
 932             "InternalFrame.titleFont",  windowTitleValue,
 933             "InternalFrame.windowBindings", null,
 934             // Internal Frame Auditory Cue Mappings
 935             "InternalFrame.closeSound", "sounds/FrameClose.wav",
 936             "InternalFrame.maximizeSound", "sounds/FrameMaximize.wav",
 937             "InternalFrame.minimizeSound", "sounds/FrameMinimize.wav",


1050                   "shift PAGE_DOWN", "scrollDownExtendSelection",
1051              "ctrl shift PAGE_DOWN", "scrollDownExtendSelection",
1052                    "ctrl PAGE_DOWN", "scrollDownChangeLead",
1053                            "ctrl A", "selectAll",
1054                        "ctrl SLASH", "selectAll",
1055                   "ctrl BACK_SLASH", "clearSelection",
1056                             "SPACE", "addToSelection",
1057                        "ctrl SPACE", "toggleAndAnchor",
1058                       "shift SPACE", "extendTo",
1059                  "ctrl shift SPACE", "moveSelectionTo"
1060                  }),
1061 
1062             // ScrollBar
1063             "ScrollBar.background", control,
1064             "ScrollBar.highlight", controlHighlight,
1065             "ScrollBar.shadow", controlShadow,
1066             "ScrollBar.darkShadow", controlDarkShadow,
1067             "ScrollBar.thumb", primaryControlShadow,
1068             "ScrollBar.thumbShadow", primaryControlDarkShadow,
1069             "ScrollBar.thumbHighlight", primaryControl,
1070             "ScrollBar.width",  17 ,
1071             "ScrollBar.allowsAbsolutePositioning", Boolean.TRUE,
1072             "ScrollBar.ancestorInputMap",
1073                new UIDefaults.LazyInputMap(new Object[] {
1074                        "RIGHT", "positiveUnitIncrement",
1075                     "KP_RIGHT", "positiveUnitIncrement",
1076                         "DOWN", "positiveUnitIncrement",
1077                      "KP_DOWN", "positiveUnitIncrement",
1078                    "PAGE_DOWN", "positiveBlockIncrement",
1079                         "LEFT", "negativeUnitIncrement",
1080                      "KP_LEFT", "negativeUnitIncrement",
1081                           "UP", "negativeUnitIncrement",
1082                        "KP_UP", "negativeUnitIncrement",
1083                      "PAGE_UP", "negativeBlockIncrement",
1084                         "HOME", "minScroll",
1085                          "END", "maxScroll"
1086                  }),
1087 
1088             // ScrollPane
1089             "ScrollPane.border", scrollPaneBorder,
1090             "ScrollPane.ancestorInputMap",


1221                 SwingUtilities2.makeIcon(getClass(), MetalLookAndFeel.class,
1222                 "icons/sortUp.png"),
1223             "Table.descendingSortIcon",
1224                 SwingUtilities2.makeIcon(getClass(), MetalLookAndFeel.class,
1225                 "icons/sortDown.png"),
1226 
1227             "TableHeader.font", userTextValue,
1228             "TableHeader.cellBorder",(LazyValue) t -> new MetalBorders.TableHeaderBorder(),
1229 
1230             // MenuBar
1231             "MenuBar.border", menuBarBorder,
1232             "MenuBar.font", menuTextValue,
1233             "MenuBar.windowBindings", new Object[] {
1234                 "F10", "takeFocus" },
1235 
1236             // Menu
1237             "Menu.border", menuItemBorder,
1238             "Menu.borderPainted", Boolean.TRUE,
1239             "Menu.menuPopupOffsetX", zero,
1240             "Menu.menuPopupOffsetY", zero,
1241             "Menu.submenuPopupOffsetX", -4,
1242             "Menu.submenuPopupOffsetY", -3,
1243             "Menu.font", menuTextValue,
1244             "Menu.selectionForeground", menuSelectedForeground,
1245             "Menu.selectionBackground", menuSelectedBackground,
1246             "Menu.disabledForeground", menuDisabledForeground,
1247             "Menu.acceleratorFont", subTextValue,
1248             "Menu.acceleratorForeground", acceleratorForeground,
1249             "Menu.acceleratorSelectionForeground", acceleratorSelectedForeground,
1250             "Menu.checkIcon",(LazyValue) t -> MetalIconFactory.getMenuItemCheckIcon(),
1251             "Menu.arrowIcon",(LazyValue) t -> MetalIconFactory.getMenuArrowIcon(),
1252 
1253             // Menu Item
1254             "MenuItem.border", menuItemBorder,
1255             "MenuItem.borderPainted", Boolean.TRUE,
1256             "MenuItem.font", menuTextValue,
1257             "MenuItem.selectionForeground", menuSelectedForeground,
1258             "MenuItem.selectionBackground", menuSelectedBackground,
1259             "MenuItem.disabledForeground", menuDisabledForeground,
1260             "MenuItem.acceleratorFont", subTextValue,
1261             "MenuItem.acceleratorForeground", acceleratorForeground,
1262             "MenuItem.acceleratorSelectionForeground", acceleratorSelectedForeground,


1337             "RadioButtonMenuItem.acceleratorForeground", acceleratorForeground,
1338             "RadioButtonMenuItem.acceleratorSelectionForeground", acceleratorSelectedForeground,
1339             "RadioButtonMenuItem.checkIcon",(LazyValue) t -> MetalIconFactory.getRadioButtonMenuItemIcon(),
1340             "RadioButtonMenuItem.arrowIcon",(LazyValue) t -> MetalIconFactory.getMenuItemArrowIcon(),
1341             "RadioButtonMenuItem.commandSound", "sounds/MenuItemCommand.wav",
1342 
1343             "Spinner.ancestorInputMap",
1344                new UIDefaults.LazyInputMap(new Object[] {
1345                                "UP", "increment",
1346                             "KP_UP", "increment",
1347                              "DOWN", "decrement",
1348                           "KP_DOWN", "decrement",
1349                }),
1350             "Spinner.arrowButtonInsets", zeroInsets,
1351             "Spinner.border", textFieldBorder,
1352             "Spinner.arrowButtonBorder", buttonBorder,
1353             "Spinner.font", controlTextValue,
1354 
1355             // SplitPane
1356 
1357             "SplitPane.dividerSize", 10,
1358             "SplitPane.ancestorInputMap",
1359                new UIDefaults.LazyInputMap(new Object[] {
1360                         "UP", "negativeIncrement",
1361                       "DOWN", "positiveIncrement",
1362                       "LEFT", "negativeIncrement",
1363                      "RIGHT", "positiveIncrement",
1364                      "KP_UP", "negativeIncrement",
1365                    "KP_DOWN", "positiveIncrement",
1366                    "KP_LEFT", "negativeIncrement",
1367                   "KP_RIGHT", "positiveIncrement",
1368                       "HOME", "selectMin",
1369                        "END", "selectMax",
1370                         "F8", "startResize",
1371                         "F6", "toggleFocus",
1372                   "ctrl TAB", "focusOutForward",
1373             "ctrl shift TAB", "focusOutBackward"
1374                  }),
1375             "SplitPane.centerOneTouchButtons", Boolean.FALSE,
1376             "SplitPane.dividerFocusColor", primaryControl,
1377