Performs interactive operations.
@param e current event
433464
@Override
	public void actionPerformed(ActionEvent e)
	{
		if (e.getSource() == pcRadio ||
			e.getSource() == customFileRadio ||
			e.getSource() == customURLRadio)
		{
			pcCombo.setEnabled(pcRadio.isSelected());
			modelField.setEnabled(customFileRadio.isSelected());
			loadButton.setEnabled(customFileRadio.isSelected());
			urlField.setEnabled(customURLRadio.isSelected());
		}
		else if (e.getSource() == loadButton)
		{
			String current = modelField.getText();
			String initial = current.trim().length() > 0 ? current : ".";

			JFileChooser fc = new JFileChooser(initial);
			fc.setFileFilter(new FileNameExtensionFilter("BioPAX file (*.owl)", "owl"));
			if (fc.showOpenDialog(this) == JFileChooser.APPROVE_OPTION)
			{
				File file = fc.getSelectedFile();
				modelField.setText(file.getPath());
			}
		}
		else if (e.getSource() == patternCombo)
		{
			Miner m = (Miner) patternCombo.getSelectedItem();
			descArea.setText(m.getDescription());

			// Update output file name
			String text = outputField.getText();
			if (text.contains("/")) text = text.substring(0, text.lastIndexOf("/") + 1);
			else text = "";
			text += m.getName() + ".txt";
			outputField.setText(text);
		}
		else if (e.getSource() == runButton)
		{
			run();
		}

		checkRunButton();
	}
78759
private void handleException(final Throwable e)
    {
        if ( errorListeners.size() == 0 )
        {
            LOG.error("", e);
        }
        else
        {
            errorListeners.forEach(new Function<UnhandledErrorListener, Void>()
            {
                @Override
                public Void apply(UnhandledErrorListener listener)
                {
                    try
                    {
                        listener.unhandledError("", e);
                    }
                    catch ( Exception e )
                    {
                        ThreadUtils.checkInterrupted(e);
                        LOG.error("Exception handling exception", e);
                    }
                    return null;
                }
            });
        }
    }
895520
protected void open(Element e, boolean fireEvent) {
        this.open = true;
        options.complete = () -> onNativeClose(true, true);
        options.ready = () -> onNativeOpen(fireEvent);
        $(e).openModal(options);
    }
927719
function(e){
            if(e.type === 'mousemove' && this.onHover){
                this.onHover(e.clientX, e.clientY);
            }
            else if(e.type === 'mouseenter' && this.onHover){
                this.onHover(e.clientX, e.clientY);
            }
            else if(e.type === 'mouseleave' && this.onHover){
                this.onHover(false);
            }
            else if(e.type === 'click' && this.onClick){
                this.onClick(e.clientX, e.clientY);
            }
        }
683934
@UiHandler("m_okButton")
    protected void onClickOk(ClickEvent e) {

        CmsRpcAction<Void> deleteAction = new CmsRpcAction<Void>() {

            @Override
            public void execute() {

                start(200, true);
                CmsCoreProvider.getVfsService().deleteResource(m_status.getStructureId(), this);
            }

            @Override
            public void onResponse(Void result) {

                stop(true);
                hide();
            }
        };
        deleteAction.execute();
    }
1183741
public void itemStateChanged(ItemEvent e) {
		if (e.getStateChange() == ItemEvent.SELECTED) {
			int index = comboBox.getSelectedIndex();

			if ((index >= 0) && (index != month)) {
				setMonth(index, false);
			}
		}
	}
289704
public void intervalRemoved (ListDataEvent e)
    {
        // remove the buttons in the specified interval
        int start = e.getIndex0(), count = e.getIndex1() - start + 1;
        removeButtons(start, count);
        SwingUtil.refresh(this);
    }
1209554
function(e) {
	   this.hiddenEl.value = this.el.checked ? this.checkedValue : this.uncheckedValue;
	
	   inputEx.CheckBox.superclass.onChange.call(this,e);
	}
676272
public void setInteractive(final boolean INTERACTIVE) {
        if (null == interactive) {
            _interactive = INTERACTIVE;
            fireUpdateEvent(INTERACTIVITY_EVENT);
        } else {
            interactive.set(INTERACTIVE);
        }
    }
854291
private void fireOnGetBasic(ChannelEvent e) {
        List<EventListener> listeners = changes.getListenerList(AMQP);
        for (EventListener listener : listeners) {
            ChannelListener amqpListener = (ChannelListener)listener;
            amqpListener.onGetBasic(e);
        }
    }
731808
public void stateChanged (ChangeEvent e)
    {
        JSlider source = (JSlider)e.getSource();
        if (!source.getValueIsAdjusting()) {
            int val = source.getValue();
            // update the model with the newly selected component
            setSelectedComponent(val);
            // update the label with the new value
            _clabel.setText(Integer.toString(val));
        }
    }
807293
public void valueChanged(ListSelectionEvent e)
    {
        if (e.getFirstIndex() == e.getLastIndex())
            if (e.getFirstIndex() > 0)  // Column 0 is the form button
                this.clickColumn(e.getFirstIndex());
        JTable control = (JTable)m_gridScreen.getControl();
        control.clearSelection(); // Column selections not allowed
    }
767417
public void handleException(Throwable e) {
    while (e instanceof InvocationTargetException) {
      e = ((InvocationTargetException) e).getTargetException();
    }

    if (e instanceof SQLException) {
      handleSQLException((SQLException) e);
    } else if (e instanceof WrappedSqlException) {
      handleSQLException((SQLException) e.getCause());
    } else if (!initComplete && !getOpts().getVerbose()) {
      // all init errors must be verbose
      if (e.getMessage() == null) {
        error(e.getClass().getName());
      } else {
        error(e.getMessage());
      }
    } else {
      e.printStackTrace(getErrorStream());
    }
  }
916255
public void actionPerformed(ActionEvent e)
    {
        if (e.getSource() == this)
        {
            Container container = this.getParent();
            if (container instanceof JCalendarDualField)
                container = container.getParent();
            if (container instanceof JTable)
            {   // Always
                JTable jtable = (JTable)container;
                int iRow = jtable.getSelectedRow();
                Object value = jtable.getValueAt(iRow, m_iColumn);
                this.setControlValue(value);    // Make sure I have the right value
            }
            //Date dateTarget = this.getTargetDate();
            
            JCalendarPopup popup = JCalendarPopup.createCalendarPopup(this.getDateParam(), this.getTargetDate(), this, this.getLanguage());
            popup.setTransferFocus(false);
            popup.addPropertyChangeListener(this);
        }
    }
551115
function (e) {
		var originalEvent = e.originalEvent;
		var clientX;
		var clientY;
		if (originalEvent.touches && originalEvent.touches[0] && !this._clickHandled && !this._touchHandled && !this._disableMarkers) {
			clientX = originalEvent.touches[0].clientX;
			clientY = originalEvent.touches[0].clientY;
			this._disableNewMarkers();
			this._touchHandled = true;
			this._startPoint.call(this, clientX, clientY);
			this._endPoint.call(this, clientX, clientY, e);
			this._touchHandled = null;
		}
		this._clickHandled = null;
	}
327583
public static void displayError( Throwable e )
  {
    displayMessageBox( e == null ? "Error performing operation." : e.getMessage(), JOptionPane.ERROR_MESSAGE, false );
  }
1308944
@Override
    public void actionPerformed(ActionEvent e) {
        String cmd = e.getActionCommand();
        if (cmd.equals("Cancel")) {
            setVisible(false);
            value = null;
        } else if (cmd.equals("Select")) {
            value = list.getSelectedValue();
            setVisible(false);
            swingGui.showFileWindow(value, -1);
        }
    }