Biscuit128
Biscuit128

Reputation: 5398

Event Dispatch Thread - reporting

I was wondering, I want to report some form of progress from my swing worker back to the main thread so my interface can be updated with a label that changes as the progress increases, for example

checking 1/6...

checking 2/6...

..

..

I did something similar in c# a while a go but cant remember how so now cant transfer the logic to this java application. Instead of a background worker i am using a swing worker here

Please could someone enlighten me on what i need to research

Thanks

Upvotes: 1

Views: 95

Answers (2)

Robin
Robin

Reputation: 36601

You already have an answer, and probably even solved your problem. But still, it might be worth looking at my answer on another SO question which contains a snippet which does almost exactly what you are looking for

Upvotes: 0

mKorbel
mKorbel

Reputation: 109815

For "Monitoring" SwingWorker there are

Upvotes: 1

Related Questions