Im sure some of you are familiar with the "DO EVENTS" code in visual basic that allows the program to perform other tasks while in a loop. I am looking for the equivalent in java. Is there a way to tell java to continue doing its thing, allow user input and what not while in a loop.