Other | Other |
---|---|
1.2.2_002 b02Fixed | 1.3.0Fixed |
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
If I add an acceleraor (like alt+n) to a menu entry, and if the current input focus in a JTextArea, and if I type the alt+n key sequence then *both* the accelerator is activated and an "n" gets inserted into the text. What appears to be happening is that when alt+n is typed both a KeyPressed and a KeyTyped event get sent. KeyPressed activates the menu action correctly. The KeyTyped event is supposed to be ignored by the TextArea, but it appears not to be. The same thing happens with meta, but not with ctrl.
|