Well, it might get a little complicated. That on-screen keyboard is a native application, which means it has access to other windows and native resources. Java doesn't really do that- everything is...
Type: Posts; User: KevinWorkman
Well, it might get a little complicated. That on-screen keyboard is a native application, which means it has access to other windows and native resources. Java doesn't really do that- everything is...
Okay, I see. VK_COPY isn't a valid key code because, well, it isn't a key. You can do something like this:
Robot cpd = new Robot();
cpd.keyPress(KeyEvent.VK_CONTROL);
...
Are you doing this via an applet or webstart? Via a runnable jar? Directly from an IDE? Something else?
What exact piece of code is causing the error? I recommend putting together an SSCCE that...