Search code examples
javaswinguser-interfaceswingworkerevent-dispatch-thread

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


Solution

  • For "Monitoring" SwingWorker there are