Closed mokun closed 5 years ago
How do I programmatically input something in a prompt ?
Say, I want to run a demo of how to make an input in a prompt.
Is there something in SwingHandler that I can use in order to simulate manually typing in something and hit the enter ?
Thanks !
It's not in SwingHandler, but you can use a Robot-based helper, as shown in this demo application.
RoboTypist class is very great. Thanks!
How do I programmatically input something in a prompt ?
Say, I want to run a demo of how to make an input in a prompt.
Is there something in SwingHandler that I can use in order to simulate manually typing in something and hit the enter ?
Thanks !