private void submn_configActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_submn_configActionPerformed // TODO add your handling code here: configform = new ConfigForm(this); configform.setVisible(true); this.setEnabled(false); } // GEN-LAST:event_submn_configActionPerformed
@Override public void actionPerformed(final ActionEvent evt) { evt.consume(); configForm.updateConfig(); configForm.show(); }