0

Given a java application that handles mouse events, how does one write a separate java application that sends/ or intercepts the mouse handler on it to send input to it without actually having to manually use the real mouse?

  • Are you asking how to emulate a mouse? https://stackoverflow.com/questions/19185162/how-to-simulate-a-real-mouse-click-using-java – sleepToken Nov 27 '19 at 01:28
  • thank you i tried to google it but i was seeing mixed results – Gabriel Reyes Nov 27 '19 at 02:20
  • You may need to enable OS accessibility functionality for your executable when using Robot. For example on Mac, under Security & Privacy > Privacy tab > Accessibility – boot-and-bonnet Nov 27 '19 at 03:57

0 Answers0