Is there a way to set the cursor's location in JavaFX while the window is in focus? I've searched the possibility of the Scene's cursor object, but that leads to a dead end.
Did you tried the function
mouseMove(int x, int y) like this:
new Robot().mouseMove(150, 200); ?
Source: Robot (Java 2 Platform SE 5.0)