Let me give context.

I'm writing a program that uses JFugue, and I want it to loop a particular pattern over and over again until the user presses a key on the keyboard (anyone not familiar with...