This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes regarding tab key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "regarding tab key" Watch "regarding tab key" New topic
Author

regarding tab key

kumar mars
Ranch Hand

Joined: Jun 04, 2001
Posts: 34
hi guys,

i wrote an editor using swings. To provide input through console, i used the event handlers for keyboard events like
keypressed(), key released()etc.. i also provided some tool bar for opening a file, saving etc. i was able to define the action for almost all the keys on the keyboard, except for some keys. i was unable to get the control of tab key. when i am pressing a tab key, the control is movig on toll bar options only. the conrol is not getting int the frame, on which i used to display the text.
what i finally require is that how can i get the control of 'tab key' and how can i define some actions that are to be performed on pressing tab keys.
i will be thankful if any body can help me in this regard.
bye one and all,



<BR>
 
jQuery in Action, 2nd edition
 
subject: regarding tab key
 
Similar Threads
Who can type with all ten fingers?
How can I disable a keyboard in Web application
JTable & Keyboard Shortcuts
"Hot keys in Swings -- URGENT"
Cursor positioning