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..

Re: how to make a shortcut will work eventhough frame doesn't have focus 80 80

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

Re: how to make a shortcut will work eventhough frame doesn't have focus 80 80

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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.