hi, I need to create an Handler , which i will attached to the keyboard handler to receive "key events" even though my application doesn't have focus (this is my projects requirement) but i m not sure how i can do that with java , if any one has done similar work , your comments are really appreciated.
You can have a look at SWT. I don't think it will have an API to do exactly what you want, but you might be able to find something useful in the code snippets. You might have to go as far as writing some low-level C or C++ code to hook into the Desktop Key events. Via JNI you can have your event call your Java code if needed.
Evildoers! Eat my justice! And this tiny ad's justice too!