Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.20 seconds.

  1. Re: KeyListener isn't working while jFrame not active

    You can't. At least not without JNI. What problem are you trying to solve?

    --- Update ---

    Nevermind, looks like I'm wasting my time here.
    ...
  2. Re: KeyListener isn't working while jFrame not active

    A JFrame will not receive key events if it does not have the focus.

    There are methods that allow you to request the focus though. The API is your friend.
Results 1 to 2 of 2