List<String[]> matches = _dic.getMatchingLemma(input);
List<String[]> matches = _dic.getMatchingLemma(input, _curDictionary.shortName);
    public MessageForm(String id)    {      super(id);           List dics = new ArrayList();      String[] s = _dic.getAvailableDictionaries();      for(int i=0; i<s.length; i++)      {        dics.add(new AbstractDic(s[i]));      }            _dropDic = new DropDownChoice("dropDic", new PropertyModel(this, "selectedDic", AbstractDic.class), dics);      _dropDic.setNullValid(false);      if(s.length > 0)      {        _dropDic.setModelObject(dics.get(0));      }            _txtSearch = new AutoCompleteTextField("txtSearch", new Model()) {        protected Iterator getChoices(String input) {          List<String> choices = new ArrayList<String>();          if(input.length() < 3)          {            return choices.iterator();          }          List<String[]> matches = _dic.getMatchingLemma(input);          //choices = matches;          int i=0;          Iterator<String[]> it = matches.iterator();          while(it.hasNext() && i < 25)          {            choices.add(it.next()[0]);            i++;          }          return choices.iterator();        }      };      _btSearch = new Button("btSubmit", new Model(getString("btSubmit")));            // empty tab-list at begin      _tabPanel = getAvailableTabs();      add(_tabPanel);            add(_dropDic);      add(_txtSearch);           add(new Label("lblSearchFor", getString("lblSearchFor")));      add(_btSearch);              } 