简体   繁体   English

如何在没有屏幕的情况下使用java机器人模拟鼠标点击

[英]how to simulate mouse click using java robot without screen

I am now developing a programme that can simulate mouse clicking on remote vm using java robot.我现在正在开发一个程序,可以使用 java 机器人模拟鼠标点击远程虚拟机。 But if the remote connection disconnect, it failed.但是如果远程连接断开,则失败。 So I wanna if there is any way to do it?所以我想如果有什么办法可以做到吗?

将您的机器人程序导出为.jar可执行应用程序,然后在远程机器上运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM