Reputation: 1473
Is it possible to catch mouse cursor inside of applet area? I am developing a java game, there is main character which can rotate itself by mouse. But when mouse pointer goes out of applet area, I can not to receive any mousemove events more.
Upvotes: 1
Views: 517
Reputation: 1473
Thank you guys, I've found a solution. There is a standard class called Robot. It allows to move the mouse pointer programmatically - it's enough to solve my issue.
Upvotes: 1