I already know how to use java.awt.Robot to type a single character using keyPress, as seen below. How can I simply enter a whole
java.awt.Robot
keyPress
You need to "type" the character, which is a press AND release action...
robot.keyPress(KeyEvent.VK_1); robot.keyRelease(KeyEvent.VK_1);
Now you could just copy and paste it three times, but I'd just put it in a loop