• Advertisement
Sign in to follow this  

[java] java.awt.Robot bug in remote desktop

This topic is 4902 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Just posting this message to document a bug(?) I've found in case anybody else runs into this. I spent all morning trying to get the java.awt.Robot class to work with my java project, I was getting really strange results, seeming to half-ignore mouseMove commands. I found out this was caused because I was using my workstation computer remotely through Remote Desktop. Apparently, the remote link doesn't register Robot's mouse movements correctly. The class worked fine when I ran it on the computer directly.

Share this post


Link to post
Share on other sites
Advertisement
well how would i go about determining whether its windows fault or java's fault? or should i just report it anyways?

Share this post


Link to post
Share on other sites
I guess you can try to find the equivalent Win32 API for sending input to a window and write a C++ program that does that, and compare it with the Java one. However, it doesn't hurt to just report it if you don't have time to do that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement