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

Started by
3 comments, last by Rocket05 19 years, 8 months ago
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.
"I never let schooling interfere with my education" - Mark Twain
Advertisement
You should post this in the bug database at java.sun.com .
well how would i go about determining whether its windows fault or java's fault? or should i just report it anyways?
"I never let schooling interfere with my education" - Mark Twain
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.
I've reported the bug to sun.
"I never let schooling interfere with my education" - Mark Twain

This topic is closed to new replies.

Advertisement