out.addItem(HackModule .getNumberedString(items[i].toString(), i));
out.addItem(items[i]);
    public static JComboBox createItemSelectorForType(JComboBox out, int type,        HackModule hm)    {        ItemEditor.readFromRom(hm);        out.removeAllItems();        ArrayList tmp = new ArrayList();        for (int i = 0; i < items.length; i++)        {            if (items[i].type == type)                out.addItem(HackModule                    .getNumberedString(items[i].toString(), i));        }        return out;    }