![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e634. Moving the Cursor on the Screentry { // These coordinates are screen coordinates int xCoord = 500; int yCoord = 500; // Move the cursor Robot robot = new Robot(); robot.mouseMove(xCoord, yCoord); } catch (AWTException e) { }
© 2002 Addison-Wesley. |