Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.08 seconds.

  1. Replies
    7
    Views
    1,961

    [SOLVED] Re: How to "enforce" pushing i.e. ctrl + c?

    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...
  2. Replies
    7
    Views
    1,961

    [SOLVED] Re: How to "enforce" pushing i.e. ctrl + c?

    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);
    ...
  3. Replies
    7
    Views
    1,961

    [SOLVED] Re: How to "enforce" pushing i.e. ctrl + c?

    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...
Results 1 to 3 of 3