Hi,
with normal key event listening I can't catch
a key press from the tab key because the
Frame-component absorbs it. (I've been told so
in the German java group) Now I wonder where
is the right place to catch it. addAWTEventListener
is --- corresponding to the documentation ---
"not recommended for normal application use".
Any hints?
Thanks and best regards
Stephan
Christian Kaufhold - 26 Aug 2007 12:25 GMT
> with normal key event listening I can't catch
> a key press from the tab key because the
> Frame-component absorbs it. (I've been told so
Not true. Typically TAB is a focus traversal key, so the
focus mechanism handles it.
Clear the focus traversal keys on the component that is
supposed to handle TAB (and which gets focus).
Christian
Roedy Green - 27 Aug 2007 07:17 GMT
On Thu, 16 Aug 2007 16:18:47 +0200, Stephan Lukits
<stephan.lukits@fernuni-hagen.de> wrote, quoted or indirectly quoted
someone who said :
>with normal key event listening I can't catch
>a key press from the tab key because the
[quoted text clipped - 5 lines]
>
>Any hints?
To learn all the different places to insert your tap, see
http://mindprod.com/jgloss/event11.html

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com