I think if we put up the action of the progress bar in a new thread,then the EDT will remain empty and as a result we can see its action,i.e. the progress while a file is being downloaded. Looking for suggestions or any other better approach.
This approach looks appropriate enough for now. However , later on we will need to make different classes for downloads utilities , download jobs, and swing's class for all GUI at one place.
I think if we put up the action of the progress bar in a new thread,then the EDT will remain empty and as a result we can see its action,i.e. the progress while a file is being downloaded. Looking for suggestions or any other better approach.