This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I haven't looked in detail at your code, but the standard way to make smooth animations without flicker is to usse double buffering. Here is an example. You can find more information if you search on "java double buffering" with Google. [ July 06, 2007: Message edited by: Jesper Young ]