src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java

Print this page

        

*** 453,463 **** { initResourceBundle(table); // *** Shared Integers ! Integer fiveHundred = new Integer(500); // *** Shared Longs Long oneThousand = 1000L; LazyValue dialogPlain12 = t -> --- 453,463 ---- { initResourceBundle(table); // *** Shared Integers ! Integer fiveHundred = 500; // *** Shared Longs Long oneThousand = 1000L; LazyValue dialogPlain12 = t ->
*** 671,681 **** t -> BasicBorders.getTextFieldBorder(); Object editorMargin = threeInsets; Object caretBlinkRate = fiveHundred; ! Integer four = new Integer(4); Object[] allAuditoryCues = new Object[] { "CheckBoxMenuItem.commandSound", "InternalFrame.closeSound", "InternalFrame.maximizeSound", --- 671,681 ---- t -> BasicBorders.getTextFieldBorder(); Object editorMargin = threeInsets; Object caretBlinkRate = fiveHundred; ! Integer four = 4; Object[] allAuditoryCues = new Object[] { "CheckBoxMenuItem.commandSound", "InternalFrame.closeSound", "InternalFrame.maximizeSound",
*** 1085,1098 **** "Menu.border", marginBorder, "Menu.borderPainted", Boolean.FALSE, "Menu.margin", twoInsets, "Menu.checkIcon", menuItemCheckIcon, "Menu.arrowIcon", menuArrowIcon, ! "Menu.menuPopupOffsetX", new Integer(0), ! "Menu.menuPopupOffsetY", new Integer(0), ! "Menu.submenuPopupOffsetX", new Integer(0), ! "Menu.submenuPopupOffsetY", new Integer(0), "Menu.shortcutKeys", new int[]{ SwingUtilities2.getSystemMnemonicKeyMask() }, "Menu.crossMenuMnemonic", Boolean.TRUE, // Menu.cancelMode affects the cancel menu action behaviour; --- 1085,1098 ---- "Menu.border", marginBorder, "Menu.borderPainted", Boolean.FALSE, "Menu.margin", twoInsets, "Menu.checkIcon", menuItemCheckIcon, "Menu.arrowIcon", menuArrowIcon, ! "Menu.menuPopupOffsetX", 0, ! "Menu.menuPopupOffsetY", 0, ! "Menu.submenuPopupOffsetX", 0, ! "Menu.submenuPopupOffsetY", 0, "Menu.shortcutKeys", new int[]{ SwingUtilities2.getSystemMnemonicKeyMask() }, "Menu.crossMenuMnemonic", Boolean.TRUE, // Menu.cancelMode affects the cancel menu action behaviour;
*** 1186,1199 **** "ProgressBar.foreground", textHighlight, "ProgressBar.background", control, "ProgressBar.selectionForeground", control, "ProgressBar.selectionBackground", textHighlight, "ProgressBar.border", progressBarBorder, ! "ProgressBar.cellLength", new Integer(1), "ProgressBar.cellSpacing", zero, ! "ProgressBar.repaintInterval", new Integer(50), ! "ProgressBar.cycleTime", new Integer(3000), "ProgressBar.horizontalSize", new DimensionUIResource(146, 12), "ProgressBar.verticalSize", new DimensionUIResource(12, 146), // *** Separator "Separator.shadow", controlShadow, // DEPRECATED - DO NOT USE! --- 1186,1199 ---- "ProgressBar.foreground", textHighlight, "ProgressBar.background", control, "ProgressBar.selectionForeground", control, "ProgressBar.selectionBackground", textHighlight, "ProgressBar.border", progressBarBorder, ! "ProgressBar.cellLength", 1, "ProgressBar.cellSpacing", zero, ! "ProgressBar.repaintInterval", 50, ! "ProgressBar.cycleTime", 3000, "ProgressBar.horizontalSize", new DimensionUIResource(146, 12), "ProgressBar.verticalSize", new DimensionUIResource(12, 146), // *** Separator "Separator.shadow", controlShadow, // DEPRECATED - DO NOT USE!
*** 1234,1244 **** "RIGHT", "negativeUnitIncrement", "KP_RIGHT", "negativeUnitIncrement", "LEFT", "positiveUnitIncrement", "KP_LEFT", "positiveUnitIncrement", }), ! "ScrollBar.width", new Integer(16), "ScrollPane.font", dialogPlain12, "ScrollPane.background", control, "ScrollPane.foreground", controlText, "ScrollPane.border", textFieldBorder, --- 1234,1244 ---- "RIGHT", "negativeUnitIncrement", "KP_RIGHT", "negativeUnitIncrement", "LEFT", "positiveUnitIncrement", "KP_LEFT", "positiveUnitIncrement", }), ! "ScrollBar.width", 16, "ScrollPane.font", dialogPlain12, "ScrollPane.background", control, "ScrollPane.foreground", controlText, "ScrollPane.border", textFieldBorder,
*** 1330,1340 **** "SplitPane.background", control, "SplitPane.highlight", controlLtHighlight, "SplitPane.shadow", controlShadow, "SplitPane.darkShadow", controlDkShadow, "SplitPane.border", splitPaneBorder, ! "SplitPane.dividerSize", new Integer(7), "SplitPaneDivider.border", splitPaneDividerBorder, "SplitPaneDivider.draggingColor", darkGray, "SplitPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "UP", "negativeIncrement", --- 1330,1340 ---- "SplitPane.background", control, "SplitPane.highlight", controlLtHighlight, "SplitPane.shadow", controlShadow, "SplitPane.darkShadow", controlDkShadow, "SplitPane.border", splitPaneBorder, ! "SplitPane.dividerSize", 7, "SplitPaneDivider.border", splitPaneDividerBorder, "SplitPaneDivider.draggingColor", darkGray, "SplitPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "UP", "negativeIncrement",
*** 1375,1385 **** "TabbedPane.selectedLabelShift", -1, "TabbedPane.tabInsets", tabbedPaneTabInsets, "TabbedPane.selectedTabPadInsets", tabbedPaneTabPadInsets, "TabbedPane.tabAreaInsets", tabbedPaneTabAreaInsets, "TabbedPane.contentBorderInsets", tabbedPaneContentBorderInsets, ! "TabbedPane.tabRunOverlay", new Integer(2), "TabbedPane.tabsOpaque", Boolean.TRUE, "TabbedPane.contentOpaque", Boolean.TRUE, "TabbedPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "RIGHT", "navigateRight", --- 1375,1385 ---- "TabbedPane.selectedLabelShift", -1, "TabbedPane.tabInsets", tabbedPaneTabInsets, "TabbedPane.selectedTabPadInsets", tabbedPaneTabPadInsets, "TabbedPane.tabAreaInsets", tabbedPaneTabAreaInsets, "TabbedPane.contentBorderInsets", tabbedPaneContentBorderInsets, ! "TabbedPane.tabRunOverlay", 2, "TabbedPane.tabsOpaque", Boolean.TRUE, "TabbedPane.contentOpaque", Boolean.TRUE, "TabbedPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "RIGHT", "navigateRight",
*** 1735,1747 **** "Tree.selectionForeground", textHighlightText, "Tree.selectionBackground", textHighlight, "Tree.selectionBorderColor", black, "Tree.dropLineColor", controlShadow, "Tree.editorBorder", blackLineBorder, ! "Tree.leftChildIndent", new Integer(7), ! "Tree.rightChildIndent", new Integer(13), ! "Tree.rowHeight", new Integer(16), "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.openIcon", SwingUtilities2.makeIcon(getClass(), BasicLookAndFeel.class, "icons/TreeOpen.gif"), "Tree.closedIcon", SwingUtilities2.makeIcon(getClass(), --- 1735,1747 ---- "Tree.selectionForeground", textHighlightText, "Tree.selectionBackground", textHighlight, "Tree.selectionBorderColor", black, "Tree.dropLineColor", controlShadow, "Tree.editorBorder", blackLineBorder, ! "Tree.leftChildIndent", 7, ! "Tree.rightChildIndent", 13, ! "Tree.rowHeight", 16, "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.openIcon", SwingUtilities2.makeIcon(getClass(), BasicLookAndFeel.class, "icons/TreeOpen.gif"), "Tree.closedIcon", SwingUtilities2.makeIcon(getClass(),