File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Key Tracking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Key Tracking" Watch "Key Tracking" New topic

Key Tracking

Anish kumar.G

Joined: May 26, 2004
Posts: 4
Hi all,
I would like to track the key pressed when my swing application is up and running. actually i know we can track the keys for every components but what i want to know is how can i track, let us call function key F2 without any keyboard focus.

please let me know this.

Thanks and Regards..
Anish kumar.G..
It is sorta covered in the JavaRanch Style Guide.
subject: Key Tracking
jQuery in Action, 3rd edition