Thankyou for the tip, but I guess I should not have said progressbar,
because I want my own animation while some other computing is happening, and
I tried to start a thread inside the actionPerformed method, but it did not
work, and I thought maybe I mis-spelled some of the code, I have not
experience with threads because I am more used to code in C++. I am studying
Java at the moment, and I have not yet grasped the way java are coded, so
program examples, syntax examples are most welcome. I have fixed the problem
now thanks to the example that was given me in one of the replies.
Tom Andr? Cook
> > Or look at SwingWorker, which I think is really what the original poster
> > was looking for.
http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html#SwingWorke
r
> Which is demonstrated with the progress bar and also referenced from the
> Progress Bar Demo page.
[quoted text clipped - 5 lines]
> --
> "" -- Marcel Marceau