Generate a native system keyboard input event.
Parameters: keycode - A Java virtual key code Parameters: press - A key is pressed if true, released otherwise See Also:java.awt.Robot.keyPress(int) throws: IllegalArgumentException - if keycode is invalid in the native system
Generate a native system mouse button(s) press or release event.
Parameters: buttons - A mask of Java mouse button flags Parameters: press - buttons are pressed if true, released otherwise See Also:java.awt.Robot.mousePress(int)