hi, i have a progress bar that shows the completion of a task but it's not running like it should. the bar only moves when the task is completed, not during the task. do i need to implement the bar as a seperate thread or have i messed up in the coding thanks in advance
Yes, you need to use another thread to do the processing, and update the progress bar in the event thread. It sounds like you might be trying to update the progress bar inside the thread you are using to do the processing. Here is a link to the section on progress bars in the Swing tutorial.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.