Im trying to implement a Jframe that pops up when I run my program. The variable "date" is a double and is given to the following code locally. I can get the Jframe to open up...but the progress bar won't appear. I want the frame to stay open so long as the run has not been completed. Upon completion I would like it to close.