private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        persona = ManagerPersona.buscarPersona(JOptionPane.showInputDialog("Indique el Numero de Carnet"));
        GuiGestionarPersona gp;
        if (persona == null) {
            gp = GuiGestionarPersona.getInstance(persona, id);
        } else {
            jLabel1.setText(persona.nombrePersona());
        }
    }//GEN-LAST:event_jButton2ActionPerformed