Exemplo n.º 1
0
  /** Invoked when an action occurs. */
  public void actionPerformed(ActionEvent e) {
    if (e.getSource().equals(useXQuery)) {
      xQueryEditor.setValidating(useXQuery.isSelected());

      if (!useXQuery.isSelected()) {
        xQueryEditor.hideProblemTable();
      }
    } else if (e.getSource().equals(inputVariableQueryButton)) {
      useXQuery.setSelected(true);
      xQueryEditor.setValidating(true);
    }
  }