public void updateProteinProcessedCound( final int newCount, final String status ) { // update status setStatus( status ); // update current element and progress bar updateProteinProcessedCound( newCount ); }
public void updateProteinProcessedCound( final int newCount, final String status ) { // update status setStatus( status ); // update current element and progress bar updateProteinProcessedCound( newCount ); }
public void updateProteinProcessedCound( final int newCount, final String status ) { // update status setStatus( status ); // update current element and progress bar updateProteinProcessedCound( newCount ); }
/** * D E M O */ public void testIt( Monitor monitor ) { for ( int i = 0; i <= max; i++ ) { try { Thread.sleep( 3 ); } catch ( InterruptedException e ) { e.printStackTrace(); } monitor.updateProteinProcessedCound( i, "processing: " + i ); } monitor.setStatus( "Test finished." ); }
/** * D E M O */ public void testIt( Monitor monitor ) { for ( int i = 0; i <= max; i++ ) { try { Thread.sleep( 3 ); } catch ( InterruptedException e ) { e.printStackTrace(); } monitor.updateProteinProcessedCound( i, "processing: " + i ); } monitor.setStatus( "Test finished." ); }
/** * D E M O */ public void testIt( Monitor monitor ) { for ( int i = 0; i <= max; i++ ) { try { Thread.sleep( 3 ); } catch ( InterruptedException e ) { e.printStackTrace(); } monitor.updateProteinProcessedCound( i, "processing: " + i ); } monitor.setStatus( "Test finished." ); }
monitor.updateProteinProcessedCound( ++current );
monitor.updateProteinProcessedCound( ++current );
monitor.updateProteinProcessedCound( ++current );
monitor.updateProteinProcessedCound( ++current ); monitor.updateProteinProcessedCound( ++current );
monitor.updateProteinProcessedCound( ++current ); monitor.updateProteinProcessedCound( ++current );
monitor.updateProteinProcessedCound( ++current ); monitor.updateProteinProcessedCound( ++current );