Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

keyboard button control in the application  RSS feed

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an application which contains many JComponents. I need to navigate through my application using key strokes. How to handle this? How to write the Listeners for this?
Atleast let me know how to get the name of the Jcomponent when it is focussed.

Thanks and Regards,
Narendranath
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using j2se 1.4+ you can use things here: How to Use the Focus Subsystem

Also, you can use key bindings: How to Use Key Bindings

Other sources of information:
Enabling keyboard operation on the menu tutorial page.

Rules for Supporting Accessibility on the accessibility page.
[ December 22, 2004: Message edited by: Craig Wood ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!