Re: Do I need Threads for this?



nospam@xxxxxxxxxxxxxxx wrote:
I've got a method that copies files from one place to another. Each time the
file copies over it takes roughly 10 seconds per file (depending on how
large the file is).

In the meantime, I need my JPanel label to update with the current number of
files copied over so far.

Yes, you need threads, but it's not that hard. You make a class that
implements Runnable or extends Thread. Then you can do all ten files
at once, if you choose to!

--Dale--

.