You will find the source code for JDK1.0.2 version collision 2D applet in the downloaded ZIP file for that applet.