Shortcuts in Swing? (question for pals from Apple)
Alexander Potochkin
Alexander.Potochkin at oracle.com
Mon Nov 21 11:11:03 PST 2011
Hello guys
We have a code snippet which tests the various shortcuts in a simple
Swing application,
Alt+A and Alt+B are among them.
It turned out that when the focus is inside a JTextArea,
Alt+A works as expected but Alt+B types a special symbol.
This behavior is different from what we have on Windows or Linux
and our testers consider it as a bug.
Is there any workarounds to suppress typing on Alt+B?
(Alt+B + some other magic keys?)
If not, is there a specification that counts the shortcuts that can't be
mapped to the users action?
By the way, how to move the focus out of a focused JTextArea on Mac?
On windows we use Ctrl+Tab, but it doesn't work on Mac.
Thanks much
alexp
More information about the macosx-port-dev
mailing list