Progress Bar does not stop


I am using a progress bar and it keeps running when the percentage gets to 100%. I checked the progress variable value to be 1.0 which I pass as a reference to the ProgressBar clas. I am not able to describe how it looks, so I have attached a screen shot. Thats how it looks when the value reaches 1.0 or 100%. Am I doing something wrong?


A progress bar just keeps running until you delete it… If your task has finished, just get rid of it or close the dialog box, or whatever is appropriate.