public void init(ServletConfig sc) throws ServletException { synchronized (CaptchaServlet.class) { super.init(sc); try { WordList wordList = new WordList(Locale.getDefault()); Iterator itr = WordsUtil.getDictionary().iterator(); while (itr.hasNext()) { wordList.addWord((String) itr.next()); } WordGenerator wordGenerator = new DictionaryWordGenerator(new WordListDictionnary(wordList)); /* _engine = new MultipleGimpyEngine( wordGenerator, width, height, minFontSize, maxFontSize, minWordLength, maxWordLength, textColor); */ _engine = new MultipleGimpyEngine(); } catch (Exception e) { e.printStackTrace(); } } }