private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTextField1KeyReleased
        // TODO add your handling code here:
         if(this.jTextField1.getText().length() <= 10){
validacionVentanas.accionValidarNumeros(jTextField1);

        }else{
        JOptionPane.showMessageDialog(null,"solo se permiten 10 caracteres");
        this.jTextField1.setText(this.jTextField1.getText().substring(0, 10));

        }
    }//GEN-LAST:event_jTextField1KeyReleased