Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

system wide hooking

Thread view: 
Al - 01 May 2006 09:16 GMT
Is it possible to implement system wide hooking in Java. I need to
catch keyboard/mouse events.
Roedy Green - 01 May 2006 20:42 GMT
>Is it possible to implement system wide hooking in Java. I need to
>catch keyboard/mouse events.

understanding events in general will help you place your hooks.  See
http://mindprod.com/jgloss/event11.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Al - 02 May 2006 09:51 GMT
"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/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.