开发者

how to make events in clients system

I am doing a remote computing project in Java. Using the Robot class I 开发者_如何学编程am able to take the snapshot of client system. But how can I make events like mouse move, mouse click, key press in client system?


Look further down the JavaDocs for the Robot class.


(new Robot()).mouseMove(x, y);

(new Robot()).mousePress( buttons );

(new Robot()).keyPress( keycode );
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜