diff --git a/src/share/classes/sun/swing/plaf/GTKKeybindings.java b/src/share/classes/sun/swing/plaf/GTKKeybindings.java index 3701d86ccd51a4da155b9537302e1563b182e1c3..a4c08df23a2e1515678b16d9f440837cc7c5c01e 100644 --- a/src/share/classes/sun/swing/plaf/GTKKeybindings.java +++ b/src/share/classes/sun/swing/plaf/GTKKeybindings.java @@ -402,6 +402,11 @@ public class GTKKeybindings { "released SPACE", "released", "RETURN", "pressed" }), + "RootPane.ancestorInputMap", + new UIDefaults.LazyInputMap(new Object[]{ + "shift F10", "postPopup", + "CONTEXT_MENU", "postPopup" + }), // These bindings are only enabled when there is a default // button set on the rootpane. "RootPane.defaultButtonWindowKeyBindings", new Object[]{ diff --git a/src/share/classes/sun/swing/plaf/WindowsKeybindings.java b/src/share/classes/sun/swing/plaf/WindowsKeybindings.java index 48f93e78762dcdac42f526623b55c455ef728c96..37c74434755f5e09c51f808ee40b8193ade93ff6 100644 --- a/src/share/classes/sun/swing/plaf/WindowsKeybindings.java +++ b/src/share/classes/sun/swing/plaf/WindowsKeybindings.java @@ -360,6 +360,11 @@ public class WindowsKeybindings { "DOWN", "decrement", "KP_DOWN", "decrement", }), + "RootPane.ancestorInputMap", + new UIDefaults.LazyInputMap(new Object[]{ + "shift F10", "postPopup", + "CONTEXT_MENU", "postPopup" + }), // These bindings are only enabled when there is a default // button set on the rootpane. "RootPane.defaultButtonWindowKeyBindings", new Object[]{