Proccesing UI thread in Java Swingworker

67 views Asked by At

Understood that Swingworker should only use to process long processes such as loading data from DB to UI, or from UI to DB to avoid GUI freeze.

But I've a scenario where I need to process a opened document from UI thread, and it will take a while to go through the processes. I was wondering does this process suitable to be placed in Swingworker since it is both coming from UI thread? Will it caused concurrency issue?

0

There are 0 answers