GEN-LAST:event_chkAnnotationsActionPerformed
547256
private void chkSameAsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chkSameAsActionPerformed
        preference.put(OntopOBDASettings.SAME_AS, String.valueOf(chkSameAs.isSelected()));

    }
1352270
private void colorChooser1stTextActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_colorChooser1stTextActionPerformed
    if (this.colorChooser1stText.isLastOkPressed() && changeNotificationAllowed) {
      this.controller.changed();
    }
  }
343969
private void menuRedoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuRedoActionPerformed
    final TabTitle title = this.getFocusedTab();
    if (title != null) {
      this.menuRedo.setEnabled(title.getProvider().redo());
      this.menuUndo.setEnabled(title.getProvider().isUndo());
    }
  }
674582
private void aboutButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_aboutButtonActionPerformed
        // Show information about Okapi
        AboutOkapi az = new AboutOkapi();
        az.setLocationRelativeTo(this);
        az.setVisible(true);
    }
441337
private void btLaunchActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_btLaunchActionPerformed
    {//GEN-HEADEREND:event_btLaunchActionPerformed
      try
      {
        Desktop.getDesktop().browse(new URI(
          "http://localhost:" + webServerPort + "/annis-gui/"));
      }
      catch (IOException | URISyntaxException ex)
      {
       ImportStatus importStatus = corpusAdministration
          .getAdministrationDao().initImportStatus();
        importStatus.addException("unknown exception", ex);
        new ExceptionDialog(importStatus).setVisible(true);
      }

    }
1164837
private synchronized void cmdSaveChangesActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_buttonSaveActionPerformed
		final String query = queryTextPane.getText();
		if (!currentId.isEmpty()) {
			if (!currentGroup.isEmpty()) {
				qc.addQuery(query, currentId, currentGroup);
			} else {
				qc.addQuery(query, currentId);
			}
		} else {
			JOptionPane.showMessageDialog(QueryInterfacePanel.this,
					"Please select first the query node that you would like to update",
					"Warning",
					JOptionPane.WARNING_MESSAGE);
		}	
	}
751600
private void jRadioButtonGraphAggregatedActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jRadioButtonGraphAggregatedActionPerformed
    {//GEN-HEADEREND:event_jRadioButtonGraphAggregatedActionPerformed
        parent.switchModel(true);
        refreshGraphPreview();
    }
114024
private void startButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_startButtonActionPerformed
		_worker = EvolvingImagesWorker.of(getEngineParam(), getImage());
		_worker.start(this::onNewResult);

		// Enable/Disable UI controls.
		startButton.setEnabled(false);
		stopButton.setEnabled(true);
		pauseButton.setEnabled(true);
		openButton.setEnabled(false);
		saveButton.setEnabled(true);
		engineParamPanel.setEnabled(false);
	}
62330
private void pauseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pauseButtonActionPerformed
        switch (pauseButton.getText()) {
			case "Pause":
				_worker.pause();
				pauseButton.setText("Resume");
				break;
			case "Resume":
				_worker.resume();
				pauseButton.setText("Pause");
				break;
			default:
		}
    }
766893
private void jCheckBoxRelativeTimeActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jCheckBoxRelativeTimeActionPerformed
    {//GEN-HEADEREND:event_jCheckBoxRelativeTimeActionPerformed
        parent.getGraphPanelChart().setUseRelativeTime(jCheckBoxRelativeTime.isSelected());
    }
1060301
private void fontComboBoxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fontComboBoxActionPerformed
        String fontName = (String)fontComboBox.getSelectedItem();
        if (!this.getDefaultText().equalsIgnoreCase(fontName))
            properties.put(ScreenUtil.FONT_NAME, fontName);
        else
            properties.remove(ScreenUtil.FONT_NAME);

        ScreenUtil.updateLookAndFeel(this, null, properties);
        this.setSampleStyle();
    }
385453
private void jButtonGnuoPathActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonGnuoPathActionPerformed
        this.jTextFieldGNUPath.setText(getDirectory("open", JFileChooser.DIRECTORIES_ONLY));
    }
83357
private void colorChooserCollapsatorBorderActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_colorChooserCollapsatorBorderActionPerformed
    if (changeNotificationAllowed && this.colorChooserCollapsatorBorder.isLastOkPressed()) {
      this.controller.changed();
    }
  }
982259
private void tfClassNameActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_tfClassNameActionPerformed
    {//GEN-HEADEREND:event_tfClassNameActionPerformed
        // Commit on ENTER
        aTable.setClassName(tfClassName.getText());
    }
317145
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
        JavaProcessBuilder pb = SAMPLE_QUEUE.newProcessBuilder(Locale.getDefault());
        pb.setProcessName("Test 3");
        pb.setProcessDescription("Test 3");
        pb.setProcessDetails(new TestRunner(), "run", new Class[] {}, new Object[] {});
        pb.setProcessPersistence(true);
        pb.newProcess();
    }
756185
private void colorChooserGridColorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_colorChooserGridColorActionPerformed
    if (this.colorChooserGridColor.isLastOkPressed() && changeNotificationAllowed) {
      this.controller.changed();
    }
  }
755373
private void buttonFontForEditorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonFontForEditorActionPerformed
    final FontSelector fontSelector = new FontSelector(this.fontTextEditor);
    if (DialogProviderManager.getInstance().getDialogProvider().msgOkCancel(this, "Select Text editor font", fontSelector)) {
      this.fontTextEditor = fontSelector.getValue();
      updateFontButton(this.buttonFontForEditor, fontSelector.getValue());
      if (this.changeNotificationAllowed) {
        this.changed = true;
      }
    }
  }