I have written a program which has a for loop which will be executed for 0 to 10000 or more. I have added a JProgressBar to monitor the progress. The problem is the ProgressBar is displayed after the completion of the execution.
How can I solve this.
Help me in this regard