}
public void setSpells(String classe, List<Spell> spells) {
this.classe = classe;
this.spells = new ArrayList<Spell>();
comparator = new SpellLevelComparator(classe);
this.spells.addAll(spells);
values = new ArrayList<Spell>();
refresh();
this.fireIntervalRemoved(this, 0, getSize());
this.fireContentsChanged(this, 0, getSize());