@Override public void setDictionary(Dictionary dictionary) throws JWNLException { if (dictionary != this.dictionary) { if (null != this.dictionary) { Dictionary old = this.dictionary; this.dictionary = dictionary; old.removeElement(this); } super.setDictionary(dictionary); if (null != dictionary) { dictionary.addElement(this); } } }