A simple Java2D game