How do I simulate keystrokes?
Created May 4, 2012
John Zukowski Starting with 1.3 you can use the java.awt.Robot class:
Robot robot = new Robot(); robot.keyPress(KeyEvent.VK_J); robot.keyRelease(KeyEvent.VK_J);