private void btnModificarActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_btnModificarActionPerformed // TODO add your handling code here: this.busy(1); if (this.verificaDatos() == true) { if (ejecutivobeans.update() == false) { JOptionPane.showMessageDialog( null, "Error: " + ejecutivobeans.getError(), "¡ups! Algo inesperado ha pasado", JOptionPane.ERROR_MESSAGE); } else { this.cargaTablaEjecutivo(); this.btnGuardar.setEnabled(false); this.btnModificar.setEnabled(true); this.btnEliminar.setEnabled(true); } } this.busy(0); } // GEN-LAST:event_btnModificarActionPerformed