private void setPreferredRaces() {
        if (!_raceLocked) {
            _raceBox.removeActionListener(_raceListener);
            _raceBox.removeAllItems();
            Vector<BaseRace> preferred = _character.getRankedRaces(16);
            Vector<BaseRace> average = _character.getRankedRaces(15);
            Vector<BaseRace> poor = _character.getRankedRaces(14);
            for (BaseRace item : preferred) {
                _raceBox.addItem(item.getName());
            }
            _raceBox.addItem(SEPARATOR);
            for (BaseRace item : average) {
                _raceBox.addItem(item.getName());
            }
            _raceBox.addItem(SEPARATOR);
            for (BaseRace item : poor) {
                _raceBox.addItem(item.getName());
            }
            _character.setRace(preferred.elementAt(0));
            _raceBox.addActionListener(_raceListener);
        }
    }