I have this code:
try
{
robot = new Robot();
robot.mouseMove(0,900);
robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
}catch(Exception e){}
And I want it to click the "Start" button on Windows computers. The mouse moves to the correct location, but does not click. Advice?