Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com

Images2 shows that you can use a transparent gif.

Each time the applet is clicked, a repaint request is made,

resulting in execution of the paint method, where the gif is drawn at coordinate x ....

on top of a set of lines that have been drawn the moment before.

Coordinate x is changed each click, x = x + 5 .

=======

NOTE

=======

The applet instance is responsible for transporting the image .