/** The compiler stops. */
  public void finishProcessing(boolean unlockPrev, boolean unlockNext) {
    overallProgressBar.setIndeterminate(false);
    String no_of_jobs = Integer.toString(this.noOfJobs);
    overallProgressBar.setString(no_of_jobs + " / " + no_of_jobs);

    processLabel.setText(" ");
    processLabel.setEnabled(false);

    validated = true;
    idata.installSuccess = worker.getResult();
    if (idata.panels.indexOf(this) != (idata.panels.size() - 1)) {
      if (unlockNext) {
        parent.unlockNextButton();
      }
    }
    if (unlockPrev) {
      parent.unlockPrevButton();
    }

    // set to finished only in case of success
    finishedWork = idata.installSuccess;
  }