When I use the keyPress() method of the robot class, I notice that it enters the key quite rapidly, but I would like to hold down a key for a specified time, is this possible?
I already tried to run the keyPress() method in a seperate thread, and using Thread.sleep(5000); before using keyRelease(), but still, it doesn't work.
I hope someone can enlighten me!
Thanks in advance,
Nick