do dragMouse event remotely

my application is rempte desktopit is based on RMIi use java.awt.robot to perform all actions my problem is to perform the mouse drag action, i cannot do it with the robotanyone has any suggestion?
[232 byte] By [Dina.A.El-Rahima] at [2007-10-3 4:58:15]
# 1
Did you try using the mousePress() method, then the mouseMove() method?
CaptainMorgan08a at 2007-7-14 23:03:37 > top of Java-index,Java Essentials,Java Programming...
# 2
i tried mousePress and mouseMove but it didn't work
Dina.A.El-Rahima at 2007-7-14 23:03:37 > top of Java-index,Java Essentials,Java Programming...
# 3

> it didn't work

Ever curious, I threw the following into the main() method of what I'm

working on at the moment:Robot rob = new Robot();

rob.mouseMove(5, 5);

rob.mousePress(InputEvent.BUTTON1_MASK);

rob.mouseMove(225, 225);

rob.mouseRelease(InputEvent.BUTTON1_MASK);

Sure enough, my Eclipse editor moved.

pbrockway2a at 2007-7-14 23:03:37 > top of Java-index,Java Essentials,Java Programming...