private void edit_ScriptActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_edit_ScriptActionPerformed EditModeLabel.setVisible(true); scriptText.setEnabled(true); checkEdit = true; indexName.setEnabled(false); } // GEN-LAST:event_edit_ScriptActionPerformed
/** Creates new form CreateIndex */ public CreatIndex() { initComponents(); show_addedColumnBox.setVisible(false); scriptText.setEnabled(false); show_columnName.removeAllItems(); show_columnName.setEnabled(false); EditModeLabel.setVisible(false); addColumn.setVisible(false); AutoCompleteDecorator.decorate(list_table_name); saveScript.setEnabled(false); scriptText.setDisabledTextColor(Color.BLACK); show_addedColumnBox.setDisabledTextColor(Color.BLACK); }
private void cancelbtnActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_cancelbtnActionPerformed columnNames.clear(); indexName.setText(""); scriptText.setText(""); show_addedColumnBox.setText(""); checkUnique.setSelected(false); choice = 0; checkMultipleColumns.setSelected(false); checkEdit = false; addColumn.setVisible(false); show_addedColumnBox.setVisible(false); retriveTableFromDB(); show_columnName.removeAllItems(); scriptText.setEnabled(false); EditModeLabel.setVisible(false); indexName.setEnabled(true); checkEmpty = false; refresh.setEnabled(true); show_columnName.removeAllItems(); list_table_name.setSelectedIndex(0); show_script.setEnabled(true); } // GEN-LAST:event_cancelbtnActionPerformed