171172173174175176177178179180181
char[] chars = new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'}; Captcha captcha = new Captcha.Builder(200, 50) .addText( new TextProducer() { @Override public String getText() { return Integer.toString(code); } },