Java KeyListener stutters
I'm making a very simple pong game in java and I'm doing this using KeyListener. I want it so when the user presses the right or left keys on the keypad, the pong block goes in that direction. This is a simple enough task, but what I'm finding out is that when the user holds down the key, the block moves once, stops for a short time, then continues moving until the user releases the key. I notice this happens when you try to hold down a letter key on a computer. If I try to hold down the 'a' key, the computer will do: a [pause] aaaaaaaaaaaaaaaa Is there someway to disable this stutter, because