0

I have a small game which uses arrow keys. However if I press the arrow keys within a timeout window of say 200ms, the timeout starting from the first key press, how do I capture all the keys pressed using keyListener?

mKorbel
  • 109,525
  • 20
  • 134
  • 319
user3413046
  • 109
  • 1
  • 13
  • 1
    this propertry is controled by Native OS, there are repeatly fired pressed and released, solution is usage of KeyBindings (required usage of Swing) – mKorbel May 06 '14 at 13:29
  • 1
    See [this](http://stackoverflow.com/questions/22741215/how-to-use-key-bindings-instead-of-key-listeners) for example. There are other posts about this too. – user1803551 May 06 '14 at 14:29

0 Answers0