Why isn't my applet repainting properly?

http://members.optusnet.com.au/ksaho/Algorithm/JAVA/test.zip

I have tried everything to get this bloody thing to properly repaint. I have done it in the past, looking back to my old code and comparing it to my current code, I did absolutely nothing different other than my current code is nearly independent of the Main class.

Can someone tell me why the paint method isn’t refreshing properly?

Thank You

It works fine for me. I started it like this:
java Main

(I used some gif file as an image).
Are you trying to display an animated gif by any chance?

What?
It’s working?

I use animated gifs, normal gifs, and even a rectangle.

It would just paint a new image in the new area while leaving the image before it on the applet. Instead of properly getting rid of the old images and repainting the same image in it’s new location.