KEYEvents

Discussion in 'Java' started by Thorsten Kiefer, Feb 19, 2007.

  1. Hi,
    I added a KeyListener to a JComponent to catch KeyPressed- and
    KeyReleased-Events.
    When I press a key, I receive a KeyPressed-Event.
    But when I hold the key pressed, I receive quickly repeated
    KeyPressed- and KeyReleased-Events.

    Is there a way to suppress this ??

    Best regards
    Thorsten
     
    Thorsten Kiefer, Feb 19, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. NEO
    Replies:
    1
    Views:
    3,002
    Babu Kalakrishnan
    Nov 11, 2003
  2. Replies:
    0
    Views:
    502
  3. Francois Lionet

    KeyEvents

    Francois Lionet, May 9, 2009, in forum: Java
    Replies:
    1
    Views:
    426
    John B. Matthews
    May 10, 2009
Loading...

Share This Page