NPCBattleEditor.npcbEntries[j].writeInfo();
    private void saveInfo()    {        for (int i = 0; i < 7; i++)            sctEntries[selector.getSelectedIndex()].setSprite(i, sprite[i]                .getSelectedIndex());        sctEntries[selector.getSelectedIndex()].writeInfo();        int j = selector.getSelectedIndex() - 4;        if (j >= 0)        {            NPCBattleEditor.npcbEntries[j].setTarget(getNumberOfString(                (String) target.getSelectedItem(), false));            NPCBattleEditor.npcbEntries[j].setEnemy(enemy.getSelectedIndex());        }    }