Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / August 2007

Tip: Looking for answers? Try searching our database.

Where to catch Tab-Event

Thread view: 
Stephan Lukits - 16 Aug 2007 15:18 GMT
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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.