Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Robot mousePress not working in specific situation in vm  RSS feed

Mark Brunson
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm really confused by this. When I run this program in VMWare running windows 7, with the mouse cursor over a particular application, nothing happens. In all other situations, the program clicks the mouse when you run it (when the mouse isn't over the application in the virtual machine, when used anywhere outside of the virtual machine).

What could be causing this? How can a Java generated mouse click consistently not work when a manual click does work? Are there any workarounds that might bypass whatever is going on here?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!