private void btnEditarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEditarActionPerformed
        int n = Integer.parseInt(txt1.getText());
        nuevo(n);
        setVisible(false);
    }//GEN-LAST:event_btnEditarActionPerformed