Animation on a JPanel

From: J. Babe (babe_jt_at_hotmail.com)
Date: 05/28/04


Date: 28 May 2004 13:59:10 -0700

Hello,
I'm trying to create a file transfer window that shows a file moving
from a client computer to a server.
I have an applet that pops up a JFrame from a user action. The JFrame
is using a BorderLayout and has a JLabel at BorderLayout.NORTH, a
JLabel with an image at .WEST, another JLabel at BorderLayout.East,
and a JPanel at BorderLayout.CENTER. (A JPanel in between two images
of computers).

********************************************
What I want to do is create an animation on the JPanel that uses an
image of a file, which shows the file moving from one side of the
panel to the other and repeats itself. I was wondering how to go about
doing this.
I would like to create a new class that extends javax.swing.JPanel
that does this.
*********************************************

Thanks in advance.