Sign in to follow this  
Rocket05

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this