Advertisement Jump to content
Sign in to follow this  
Rocket05

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

This topic is 5266 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!