Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Keylistener without focus?

807580Aug 8 2010 — edited Aug 15 2010
Hi everybody!

I'm just wondering if it's possible to have a keylistener to listen to a certain button to be pressed when the application doesn't have focus?
For an example, my application "Toopitoppitoo" is in the system tray and I press F10. I then want it to recognize that and maximize.

So. Is it possible to do such a thing when it doesn't have focus?
Would be grateful if you directed me to where in the API this can be read or doable :)

Thank you very much in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2010
Added on Aug 8 2010
9 comments
154 views