Reputation: 5398
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
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