private void txtcedulaKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txtcedulaKeyTyped
        char key = evt.getKeyChar();
        if (key >= '0' && key <= '9' || key == 8) {
            if (txtcedula.getText().length() > 8) {
                evt.consume();
            }
            if (key != 8 && txtcedula.getText().length() == 0) {
                txtcedula.setText("v");
            }
            if (key == 8 && txtcedula.getText().length() == 1) {
                txtcedula.setText(null);
            }
        } else {
            evt.consume();
        }
    }//GEN-LAST:event_txtcedulaKeyTyped