private void setPreferredClasses() {
        if (!_classLocked) {
            _classBox.removeActionListener(_classListener);
            _classBox.removeAllItems();
            Vector<BaseClass> preferred = _character.getRankedClasses(16);
            Vector<BaseClass> average = _character.getRankedClasses(15);
            Vector<BaseClass> poor = _character.getRankedClasses(14);
            for (BaseClass item : preferred) {
                _classBox.addItem(item.getName());
            }
            _classBox.addItem(SEPARATOR);
            for (BaseClass item : average) {
                _classBox.addItem(item.getName());
            }
            for (BaseClass item : poor) {
                _classBox.addItem(item.getName());
            }
            _character.setClass(preferred.elementAt(0));
            _classBox.addActionListener(_classListener);
        }
    }