11121314151617181920
public class ItemSelector extends JPokemonSelector<ItemInfo> { @Override protected void reloadItems() { removeAllItems(); ItemInfo item; for (int i = 1; (item = ItemInfo.get(i)) != null; i++) { addElementToModel(item); } }