private void evalCancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_evalCancelButtonActionPerformed
  if (isRunning == true) {
    try {
      interactor.cancelLastCommand();
    } catch (Exception e) {
    }
    setGUIToIdleMode();
  } else {
    setGUIToRunningMode();
    new Thread() {

      public void run() {
        try {
          final List result = interactor.submitSubL(inputField.getText());
          displayResult(result);
        } catch (Exception ex) {
          Logger.getLogger(SubLInteractorPanel.class.getName()).log(Level.SEVERE, null, ex);
          displayException(ex);
        }
      }
    }.start();
  }
}//GEN-LAST:event_evalCancelButtonActionPerformed