Concurrent execution and progress bar

M

marculus.nowak

Hello,

I have built an application which creates several threads, each of
them doing some part of the job. In the main app, the control over the
threads is done by CountDownLatch. Now, I would like to make a GUI
with a progress bar which will indicate the progress of execution of
these threads (i.e. number of finished threads / all threads in %).
Could you help me with an idea of how to do this? Thanks!

Regards, Mark
 
A

Arne Vajhøj

I have built an application which creates several threads, each of
them doing some part of the job. In the main app, the control over the
threads is done by CountDownLatch. Now, I would like to make a GUI
with a progress bar which will indicate the progress of execution of
these threads (i.e. number of finished threads / all threads in %).
Could you help me with an idea of how to do this?

JProgressBar updated from CountDownLatch.getCount ...

Arne
 
N

Nigel Wade

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,269
Messages
2,571,100
Members
48,773
Latest member
Kaybee

Latest Threads

Top