java.awt.peer
Interface RobotPeer
public interface RobotPeer
RobotPeer defines an interface whereby toolkits support automated testing
by allowing native input events to be generated from Java code.
This interface should not be directly imported by code outside the
java.awt.* hierarchy; it is not to be considered public and is subject
to change.
mouseMove

void mouseMove(int x,
int y)
mousePress

void mousePress(int buttons)
mouseRelease

void mouseRelease(int buttons)
mouseWheel

void mouseWheel(int wheelAmt)
keyPress

void keyPress(int keycode)
keyRelease

void keyRelease(int keycode)
getRGBPixel

int getRGBPixel(int x,
int y)
getRGBPixels

int[] getRGBPixels(Rectangle
bounds)