private void cboDataSetActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_cboDataSetActionPerformed
		txtQueryEditor.setText(EMPTY_TEXT); // clear the text editor
		JComboBox cb = (JComboBox) evt.getSource();
		if (cb.getSelectedIndex() != -1) {
			RelationDefinition dd = (RelationDefinition) cb.getSelectedItem();
			if (dd != null) {
				String sql = generateSQLString(dd);
				txtQueryEditor.setText(sql);
			}
			executeQuery();
			txtClassUriTemplate.requestFocus();
		}
	}
private void cboDataSetActionPerformed ( java . awt . event . ActionEvent evt ) { txtQueryEditor . setText ( EMPTY_TEXT ) ; JComboBox cb = ( JComboBox ) evt . getSource ( ) ; if ( cb . getSelectedIndex ( ) != - 1 ) { RelationDefinition dd = ( RelationDefinition ) cb . getSelectedItem ( ) ; if ( dd != null ) { String sql = generateSQLString ( dd ) ; txtQueryEditor . setText ( sql ) ; } executeQuery ( ) ; txtClassUriTemplate . requestFocus ( ) ; } }
</editor-fold>//GEN-END:initComponents