Hi everybody,
How to do the following in java..??
created a frame and one button added to that frame and set the keyboard shortcut to that button.Now my question is how to make that keyboard shortcut will work eventhough focus is not there in that frame? anyone have any idea..

Recommended Answers

All 2 Replies

I'm not sure that's even possible in Java.

I agree with stultuske. To do that, one needs to override the system (OS) keyboard short-cut. There are different OS with different short-cut... Also, don't think any OS would simply leave the access for an external program.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.