I wrote a program in processing that takes advantage of java robot class to move the cursor and send mouse clicks.
The code works fine. I can select windows, launch software, type on the onscreen keyboard etc. the problem is that when I click on the keyboards title bar the java robot mouse freezes. The "real" USB mouse is still active and using it to click in the keyboard will bring it to the foreground and the robot mouse resuscitates. This only happens with the onscreen keyboard. Other windows don't affect the robot mouse when I click on their title bar.
I'm pretty sure it's a windows 8 bug but thought I'd ask the question here in case someone knows the cause or a workaround. Hope someone can help