Hi all in a a file sharing program , i want to downlaod somefiles at the same time so i wrote in the Listener's of the downlaod Button . new Downlaod(some params).start(); to start a new thread with every new file to download , but the result is not what i expected the result is that every time i start new thread the previus one stoped. could anyone hlep my thanks
the result is that every time i start new thread the previus one stoped. How exactly does it stop? Is the thread still alive? Did it throw an exception? Waiting to enter a synchronized block somewhere? Try putting some logging statements into the thread's code, so that you have more information about exactly where it is and what it's doing. If you still can't figure it out, try posting some of the code here - specifically, the code that downloads a single file.
"I'm not back." - Bill Harding, Twister
If you two don't stop this rough-housing somebody is going to end up crying. Sit down and read this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners