A bouncing java game