0

Hello..

I made a java chat application which transfers files from between server and client.

The thing is that i used sleep() method to make the progressbar go slow.

I want the progress bar to progress according to the progress of work done..

I dont know about EventQueue ...


Any solutions....?

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by JamesCherrill
0

Read the JavaDoc for the SwingWorker class. The introductory section explains a bit about EDT and has a sample code that shows how to use a progress bar with a long-running process.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.