timmay3141
Programmer
I'm trying to use the Robot class to type a string. It doesn't seem like it should be difficult, but I can't figure out how to turn a char into a KeyEvent.VK_whatever, which is what Robot's keyPress method expects. I'm sure there is a very simple method of converting them, but I tried looking on google and couldn't find one. Any help would be appreciated.