how to listen to Cursor change event?
Hi all,
My requirement is to do remote desktop access in java, for this i used java.awt.Robot
to do mouse and key events on a remote pc, but i stuck in one situation, how to listen to mouse events on local pc and how to update that in a remote pc.
How to listen to cursor change event and how to update it.
Please any one can help me.
Thanx in advance
[390 byte] By [
a.riyaza] at [2007-10-3 4:17:00]

> Use an AWTEventListener to listen for MouseEvents,
> then pass the event to your other application:
>
> http://forum.java.sun.com/thread.jspa?forumID=57&threa
> dID=573691
Thanx,
But i don't have the problem that u suggest, i successfully catched the events say keyboard or mous events, but i wanna to check when a curosor (say when it moves to a link hand cursor will be shown) changes.
Also i need to trigger that particular cursor change in another pc, i use java.awt.Robot to trigger key typed and mouse move events.
How can i change the cursor even when the java component is not in focus like java.awt.Robot doing mouse and key movements