I have posted a module that uses the JProgressBar bean to display a progress indicator in a non-modal dialog. This approach makes it possible to display and update the progress indicator by placing a single call inside the loop that is driving your lengthy process. This is, in my opinion, an improvement over the example at the start of this thread, which used a modal dialog and therefore required that the main processing loop be placed in the onShow method of the form in dialog.
- progress.JPG (14.26 KiB) Viewed 2642 times
The module and accompanying documentation are available
here