private boolean stop(){
  if (!wait) {
    return true;
  }
  wait=false;
  try {
    runnerStopped.await();
  }
 catch (  InterruptedException e) {
    return false;
  }
  return true;
}

private boolean stop ( ) { if ( ! wait ) { return true ; } wait = false ; try { runnerStopped . await ( ) ; } catch ( InterruptedException e ) { return false ; } return true ; }
stop displaying output and then display the after text .
