Hi. Basically, I've added my key listener to a JFrame. In that JFrame, I have a button that starts a thread, called "ball listener". That thread is kept alive by what is essentially an infinite loop, so it's constantly going. However , when the ball listener thread starts, the key listener stops. Any ideas?