import java.awt.*;
public class SimpleCaptchaService extends AbstractCaptchaService {
public SimpleCaptchaService(int width, int height, Color textColor, Color backgroundColor, int fontSize, FilterFactory ff) {
backgroundFactory = new SingleColorBackgroundFactory(backgroundColor);
wordFactory = new AdaptiveRandomWordFactory();
fontFactory = new RandomFontFactory();
textRenderer = new BestFitTextRenderer();
colorFactory = new SingleColorFactory(textColor);
filterFactory = ff;