Key « Menu « Java Swing Q&A





1. Adding shortcut to JMenu    stackoverflow.com

I want to add a shortcut to JMenu (not JMenuItem) but I don't know how... Please, help...

3. Setting Short cut Keys For Menus    coderanch.com

5. Keyboard navigation in JPopupMenu    coderanch.com

8. Open Menu on pressig ALT-key    coderanch.com

9. Keyboard shortcuts for 'Menu bars in an Applet' not working!!    coderanch.com

Hi, I am trying to have shortcuts to the menu bar items which is part of an applet. The first time the focus is on Applet, if I use (ALT + key) together, my menu is selected properly If I press just ALT, IE menu gets the focus and now (ALT + key) stops working for my menu. I have a ...





10. Preventing the Windows logo key from activating the Windows Start menu...    coderanch.com

All, Ok, I'm working with capturing/intercepting keystrokes in Java. My class extends JPanel, has a key listener, and gets the keyPressed, keyTyped, and keyReleased events. I've managed to get most stuff working so that even international keys (ie: on Japanese keyboards) work right. I've also, in the constructor, used the following: this.enableInputMethods(false); this.setFocusTraversalKeysEnabled(false); My problem is with the Windows Logo key ...

11. setting Keyboard shortcut for JPopupMenu    coderanch.com

Hi Maneesh Thanks for your prompt reply. Actually what my problem is I have used popup menus in my applcation. Some where else client is using this application and he using Mac mouse. It is having only one button. So, he can't able to see popup menu items. So, if we have shortcut key to open popupmenu it will be easy ...

13. JPopupMenu and ALT key    forums.oracle.com

Hi, by default a JPopupMenu will be closed if it was open and the user pressed the ALT key. Is there a way to prevent it from closing? We need to prevent this because the user should be able to select an item and when he/she also presses the ALT key during selection an additional info will appear. thx, Squibber