Package com.google.code.kaptcha.impl

Examples of com.google.code.kaptcha.impl.DefaultKaptcha.createImage()


      {
        DefaultKaptcha kaptcha = new DefaultKaptcha();
        Properties properties = new Properties();
        kaptcha.setConfig(new Config(properties));
        randomText = Captcha.randomString(6, 8);
        BufferedImage image = kaptcha.createImage(randomText);
        return toImageData(image);
      }
    };
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.