updates the progress value . when called for the first time this initializes a timer which decides after millistodecidetopopup time whether to show a progress dialog or not . if the progress value equals or exceeds the maximum value the progress dialog is closed automatically . concode_field_sep AccessibleContext accessibleContext concode_elem_sep String note concode_elem_sep int max concode_elem_sep JDialog progressDialog concode_elem_sep int millisToPopup concode_elem_sep int lastProgress concode_elem_sep Object message concode_elem_sep boolean first concode_elem_sep JLabel noteLabel concode_elem_sep Timer timer concode_elem_sep boolean canceled concode_elem_sep Component component concode_elem_sep int min concode_elem_sep int millisToDecideToPopup concode_elem_sep JProgressBar progressBar concode_elem_sep int progress concode_elem_sep long timestamp concode_field_sep boolean isCanceled concode_elem_sep void setMaximum concode_elem_sep void setMillisToDecideToPopup concode_elem_sep void createDialog concode_elem_sep String getNote concode_elem_sep int getMaximum concode_elem_sep AccessibleContext getAccessibleContext concode_elem_sep void actionPerformed concode_elem_sep int getMillisToPopup concode_elem_sep void setMillisToPopup concode_elem_sep int getMinimum concode_elem_sep void setNote concode_elem_sep void close concode_elem_sep void setMinimum concode_elem_sep int getMillisToDecideToPopup
void function ( int arg0 ) { this . progress = arg0 ; if ( timer == null && progressDialog == null ) { timer = new Timer ( 25 , null ) ; timer . addActionListener ( new TimerListener ( ) ) ; timer . start ( ) ; } if ( progressBar != null && this . progress >= progressBar . getMaximum ( ) ) { close ( ) ; } }