code: 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);
  		}	
  	}
docs: GEN-LAST:event_buttonExecuteActionPerformed