model view control & JProgressBar
hello,
I didn't understand to handle with the Progressbar.
For example when want to represent the download of a file:
I have a class TransferE (Entity), which does the transfer of the file
I have a class TransferUI (User Interface) for the user interface
I have a class TransferC (Control) between ui and entity
now how to update the progressbar?
The download need to run in an own Thread i think.
Do I have to run an extra Thread in the UI to get the status in a specified interval?
Or can I give the ProgressBar to the Entityclass as parameter, so that the bar will be updated in the entity's run()-method?
cheers
Tobias

