Hello,

I have a problem with the JTextFields in my IHM.
I added to them a keyListener that implements keyPressed() and
keyReleased() methods. Sometimes, my listener do no longer catch the
KeyEvents despite the fact my textfield is visible and has the focus
(detected by a focus listener that traces when the focus is gained or
lost).
I think this is do to the fact that the text field has lost the KEYBORD
focus.
Can you please confirm me that the keybord focus is not the same as the
focus detected by a FocusListener and tell me how to know who has this
focus and how to force my component keeping the keyboard focus.

Thanks for any help,
G.

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to