>Is it possible to implement system wide hooking in Java. I need to
>catch keyboard/mouse events.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
"Understanding questions in general will help you" to answer them :)
I'm asking about system wide hooking, i.e., hooking the events from
other application.
Bart Cremers - 02 May 2006 10:11 GMT
What's the system? Windows, Linux, MacOs, ...? As Java is a platform
independent language and you're asking a platform dependent question
you might guess the answer.
But, if you want to create platform dependent code you can always fall
back on JNI to implement the hook you want and provide your own event
mechanism to publish this to your Java code. There might even be some
code out there doing exactly this, but you'll need google for that.
Bart
Thomas Weidenfeller - 02 May 2006 10:30 GMT
> "Understanding questions in general will help you" to answer them :)
Writing smart questions will support the goal even more.

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/