void updateGUI(){
  if (log.isDebugEnabled()) {
    log.debug("updateGUI with " + msgCount + " / "+ (pdiFile.length() / msgSize));
  }
  if (!init) {
    return;
  }
  status.setText(res.getString("StatusDownloading"));
  msgCount++;
  bar.setValue(100 * msgCount * msgSize / pdiFile.length());
}

void updateGUI ( ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "updateGUI with " + msgCount + " / " + ( pdiFile . length ( ) / msgSize ) ) ; } if ( ! init ) { return ; } status . setText ( res . getString ( "StatusDownloading" ) ) ; msgCount ++ ; bar . setValue ( 100 * msgCount * msgSize / pdiFile . length ( ) ) ; }
update the gui for progress < p > should be invoked on the swing thread
