question: public void close ( ) { if ( dialog != null ) { dialog . setVisible ( false ) ; dialog . dispose ( ) ; dialog = null ; pane = null ; myBar = null ; } }
target:  Indicate that the operation is complete.  This happens automatically when the value set by setProgress is >= max, but it may be called earlier if the operation ends early.