code: public void notifyStatusChanged(String status) {
  
      /* If the new status message is shorter than the previous one, then
       * first change the status message all spaces to clear out the previous
       * message.
       */
      if (status.length() < this.status.length()) {
        this.status = this.status.replaceAll(".", " ");
        this.printProgressBar();
      }
  
      this.status = status;
      this.printProgressBar();
  
    }
docs: /* (non-Javadoc)
  @see ca.eandb.util.progress.ProgressMonitor#notifyStatusChanged(java.lang.String)