This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Robot mousePress not working in specific situation in vm

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