< prev index next >

## src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifLookAndFeel.java

Print this page

     619                             "SPACE", "pressed",
     620                    "released SPACE", "released"
     621                 }),
     622
     623             // Menus
     624             "Menu.border", menuMarginBorder,
     625             "Menu.font", dialogPlain12,
     626             "Menu.acceleratorFont", dialogPlain12,
     627             "Menu.acceleratorSelectionForeground", menuItemPressedForeground,
     628             "Menu.foreground", table.get("menuText"),
     629             "Menu.background", table.get("menu"),
     630             "Menu.selectionForeground", menuItemPressedForeground,
     631             "Menu.selectionBackground", menuItemPressedBackground,
     632             "Menu.checkIcon", menuItemCheckIcon,
     633             "Menu.arrowIcon", menuArrowIcon,
     634             "Menu.menuPopupOffsetX", 0,
     635             "Menu.menuPopupOffsetY", 0,
     636             "Menu.submenuPopupOffsetX", -2,
     637             "Menu.submenuPopupOffsetY", 3,
     638             "Menu.shortcutKeys", new int[]{
     639                 SwingUtilities2.getSystemMnemonicKeyMask(), metaMask

     640             },
     641             "Menu.cancelMode", "hideMenuTree",
     642
     643             "MenuBar.border", menuBarBorder,
     644             "MenuBar.background", table.get("menu"),
     645             "MenuBar.foreground", table.get("menuText"),
     646             "MenuBar.font", dialogPlain12,
     647             "MenuBar.windowBindings", new Object[] {
     648                 "F10", "takeFocus" },
     649
     650             "MenuItem.border", menuMarginBorder,
     651             "MenuItem.font", dialogPlain12,
     652             "MenuItem.acceleratorFont", dialogPlain12,
     653             "MenuItem.acceleratorSelectionForeground", menuItemPressedForeground,
     654             "MenuItem.foreground", table.get("menuText"),
     655             "MenuItem.background", table.get("menu"),
     656             "MenuItem.selectionForeground", menuItemPressedForeground,
     657             "MenuItem.selectionBackground", menuItemPressedBackground,
     658             "MenuItem.checkIcon", menuItemCheckIcon,
     659             "MenuItem.arrowIcon", menuItemArrowIcon,
     619                             "SPACE", "pressed",
     620                    "released SPACE", "released"
     621                 }),
     622
     623             // Menus
     624             "Menu.border", menuMarginBorder,
     625             "Menu.font", dialogPlain12,
     626             "Menu.acceleratorFont", dialogPlain12,
     627             "Menu.acceleratorSelectionForeground", menuItemPressedForeground,
     628             "Menu.foreground", table.get("menuText"),
     629             "Menu.background", table.get("menu"),
     630             "Menu.selectionForeground", menuItemPressedForeground,
     631             "Menu.selectionBackground", menuItemPressedBackground,
     632             "Menu.checkIcon", menuItemCheckIcon,
     633             "Menu.arrowIcon", menuArrowIcon,
     634             "Menu.menuPopupOffsetX", 0,
     635             "Menu.menuPopupOffsetY", 0,
     636             "Menu.submenuPopupOffsetX", -2,
     637             "Menu.submenuPopupOffsetY", 3,
     638             "Menu.shortcutKeys", new int[]{
     639                 SwingUtilities2.getSystemMnemonicKeyMask(), metaMask,
     640                 SwingUtilities2.getSystemMnemonicKeyMask() |
     641                         InputEvent.ALT_GRAPH_DOWN_MASK
     642             },
     643             "Menu.cancelMode", "hideMenuTree",
     644
     645             "MenuBar.border", menuBarBorder,
     646             "MenuBar.background", table.get("menu"),
     647             "MenuBar.foreground", table.get("menuText"),
     648             "MenuBar.font", dialogPlain12,
     649             "MenuBar.windowBindings", new Object[] {
     650                 "F10", "takeFocus" },
     651
     652             "MenuItem.border", menuMarginBorder,
     653             "MenuItem.font", dialogPlain12,
     654             "MenuItem.acceleratorFont", dialogPlain12,
     655             "MenuItem.acceleratorSelectionForeground", menuItemPressedForeground,
     656             "MenuItem.foreground", table.get("menuText"),
     657             "MenuItem.background", table.get("menu"),
     658             "MenuItem.selectionForeground", menuItemPressedForeground,
     659             "MenuItem.selectionBackground", menuItemPressedBackground,
     660             "MenuItem.checkIcon", menuItemCheckIcon,
     661             "MenuItem.arrowIcon", menuItemArrowIcon,

< prev index next >