private boolean downloadFiles(final List<String> files,final int size){
  updateProgressBar=new UpdateProgressBar(size,updateProp.getProperty("greetingUrl"),fromVersion,toVersion);
  updateProgressBar.setVisible(true);
  for (  final String file : files) {
    boolean res=downloadFile(file);
    if (!res) {
      return false;
    }
  }
  updateProgressBar.dispose();
  return true;
}

private boolean downloadFiles ( final List < String > files , final int size ) { updateProgressBar = new UpdateProgressBar ( size , updateProp . getProperty ( "greetingUrl" ) , fromVersion , toVersion ) ; updateProgressBar . setVisible ( true ) ; for ( final String file : files ) { boolean res = downloadFile ( file ) ; if ( ! res ) { return false ; } } updateProgressBar . dispose ( ) ; return true ; }
downloads the files listed for update .
