src/share/classes/com/sun/java/swing/plaf/motif/MotifLookAndFeel.java
Print this page
*** 565,575 ****
"ProgressBar.foreground", controlDarker,
"ProgressBar.background", table.get("control"),
"ProgressBar.selectionForeground", table.get("control"),
"ProgressBar.selectionBackground", table.get("controlText"),
"ProgressBar.border", loweredBevelBorder,
! "ProgressBar.cellLength", new Integer(6),
"ProgressBar.cellSpacing", Integer.valueOf(0),
// Buttons
"Button.margin", new InsetsUIResource(2, 4, 2, 4),
"Button.border", buttonBorder,
--- 565,575 ----
"ProgressBar.foreground", controlDarker,
"ProgressBar.background", table.get("control"),
"ProgressBar.selectionForeground", table.get("control"),
"ProgressBar.selectionBackground", table.get("controlText"),
"ProgressBar.border", loweredBevelBorder,
! "ProgressBar.cellLength", 6,
"ProgressBar.cellSpacing", Integer.valueOf(0),
// Buttons
"Button.margin", new InsetsUIResource(2, 4, 2, 4),
"Button.border", buttonBorder,
*** 580,601 ****
"Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] {
"SPACE", "pressed",
"released SPACE", "released"
}),
! "CheckBox.textIconGap", new Integer(8),
"CheckBox.margin", new InsetsUIResource(4, 2, 4, 2),
"CheckBox.icon", checkBoxIcon,
"CheckBox.focus", table.get("activeCaptionBorder"),
"CheckBox.focusInputMap",
new UIDefaults.LazyInputMap(new Object[] {
"SPACE", "pressed",
"released SPACE", "released"
}),
"RadioButton.margin", new InsetsUIResource(4, 2, 4, 2),
! "RadioButton.textIconGap", new Integer(8),
"RadioButton.background", table.get("control"),
"RadioButton.foreground", table.get("controlText"),
"RadioButton.icon", radioButtonIcon,
"RadioButton.focus", table.get("activeCaptionBorder"),
"RadioButton.icon", radioButtonIcon,
--- 580,601 ----
"Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] {
"SPACE", "pressed",
"released SPACE", "released"
}),
! "CheckBox.textIconGap", 8,
"CheckBox.margin", new InsetsUIResource(4, 2, 4, 2),
"CheckBox.icon", checkBoxIcon,
"CheckBox.focus", table.get("activeCaptionBorder"),
"CheckBox.focusInputMap",
new UIDefaults.LazyInputMap(new Object[] {
"SPACE", "pressed",
"released SPACE", "released"
}),
"RadioButton.margin", new InsetsUIResource(4, 2, 4, 2),
! "RadioButton.textIconGap", 8,
"RadioButton.background", table.get("control"),
"RadioButton.foreground", table.get("controlText"),
"RadioButton.icon", radioButtonIcon,
"RadioButton.focus", table.get("activeCaptionBorder"),
"RadioButton.icon", radioButtonIcon,
*** 625,638 ****
"Menu.background", table.get("menu"),
"Menu.selectionForeground", menuItemPressedForeground,
"Menu.selectionBackground", menuItemPressedBackground,
"Menu.checkIcon", menuItemCheckIcon,
"Menu.arrowIcon", menuArrowIcon,
! "Menu.menuPopupOffsetX", new Integer(0),
! "Menu.menuPopupOffsetY", new Integer(0),
! "Menu.submenuPopupOffsetX", new Integer(-2),
! "Menu.submenuPopupOffsetY", new Integer(3),
"Menu.shortcutKeys", new int[]{
SwingUtilities2.getSystemMnemonicKeyMask(),
KeyEvent.META_MASK
},
"Menu.cancelMode", "hideMenuTree",
--- 625,638 ----
"Menu.background", table.get("menu"),
"Menu.selectionForeground", menuItemPressedForeground,
"Menu.selectionBackground", menuItemPressedBackground,
"Menu.checkIcon", menuItemCheckIcon,
"Menu.arrowIcon", menuArrowIcon,
! "Menu.menuPopupOffsetX", 0,
! "Menu.menuPopupOffsetY", 0,
! "Menu.submenuPopupOffsetX", -2,
! "Menu.submenuPopupOffsetY", 3,
"Menu.shortcutKeys", new int[]{
SwingUtilities2.getSystemMnemonicKeyMask(),
KeyEvent.META_MASK
},
"Menu.cancelMode", "hideMenuTree",
*** 936,946 ****
"Tree.leafIcon", treeLeafIcon,
"Tree.expandedIcon", treeExpandedIcon,
"Tree.collapsedIcon", treeCollapsedIcon,
"Tree.editorBorder", focusBorder,
"Tree.editorBorderSelectionColor", table.get("activeCaptionBorder"),
! "Tree.rowHeight", new Integer(18),
"Tree.drawsFocusBorderAroundIcon", Boolean.TRUE,
"Tree.focusInputMap", new UIDefaults.LazyInputMap(new Object[] {
"COPY", "copy",
"PASTE", "paste",
"CUT", "cut",
--- 936,946 ----
"Tree.leafIcon", treeLeafIcon,
"Tree.expandedIcon", treeExpandedIcon,
"Tree.collapsedIcon", treeCollapsedIcon,
"Tree.editorBorder", focusBorder,
"Tree.editorBorderSelectionColor", table.get("activeCaptionBorder"),
! "Tree.rowHeight", 18,
"Tree.drawsFocusBorderAroundIcon", Boolean.TRUE,
"Tree.focusInputMap", new UIDefaults.LazyInputMap(new Object[] {
"COPY", "copy",
"PASTE", "paste",
"CUT", "cut",