Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5146

Re: Where is the actual menu key processing in Swing or the LaF?

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.gui
Subject Re: Where is the actual menu key processing in Swing or the LaF?
Date 2012-05-25 13:56 -0400
Organization The Wasteland
Message-ID <nospam-458815.13564725052012@news.aioe.org> (permalink)
References <menu-20120525135656@ram.dialup.fu-berlin.de>

Show all headers | View raw


In article <menu-20120525135656@ram.dialup.fu-berlin.de>,
 ram@zedat.fu-berlin.de (Stefan Ram) wrote:

> I have been looking in JMenu.java, JMenuItem.java and some of the 
> LaF-specific classes, but was not able to find that spot. One gets 
> lost in many delegations. One class delegates to the other, but I 
> do not find the spot where the actual connection of right-arrow to 
> next-menu operation is done.

MenuSelectionManager#processKeyEvent() appears to regulate this. I've 
never tried to override it.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Back to comp.lang.java.gui | Previous | Next | Find similar


Thread

Re: Where is the actual menu key processing in Swing or the LaF? "John B. Matthews" <nospam@nospam.invalid> - 2012-05-25 13:56 -0400

csiph-web