configurableCaptchaService = new ConfigurableCaptchaService();
// 颜色创建工厂,使用一定范围内的随机色
//colorFactory = new RandomColorFactory();
colorFactory = new ColorFactory() {
public Color getColor(int index) {
return new Color(0, 0, 0);//new Color(118,102,102);
}
};