private void initializeAiProfilesComboBox() {
   final FPref userSetting = FPref.UI_CURRENT_AI_PROFILE;
   final FComboBoxPanel<String> panel = this.view.getAiProfilesComboBoxPanel();
   final FComboBox<String> comboBox =
       createComboBox(AiProfileUtil.getProfilesArray(), userSetting);
   final String selectedItem = this.prefs.getPref(userSetting);
   panel.setComboBox(comboBox, selectedItem);
 }
 private void initializeGameLogVerbosityComboBox() {
   final FPref userSetting = FPref.DEV_LOG_ENTRY_TYPE;
   final FComboBoxPanel<GameLogEntryType> panel = this.view.getGameLogVerbosityComboBoxPanel();
   final FComboBox<GameLogEntryType> comboBox =
       createComboBox(GameLogEntryType.values(), userSetting);
   final GameLogEntryType selectedItem = GameLogEntryType.valueOf(this.prefs.getPref(userSetting));
   panel.setComboBox(comboBox, selectedItem);
 }
 private void initializeCloseActionComboBox() {
   final FComboBoxPanel<CloseAction> panel = this.view.getCloseActionComboBoxPanel();
   final FComboBox<CloseAction> comboBox = new FComboBox<>(CloseAction.values());
   comboBox.addItemListener(
       new ItemListener() {
         @Override
         public void itemStateChanged(final ItemEvent e) {
           Singletons.getControl().setCloseAction(comboBox.getSelectedItem());
         }
       });
   panel.setComboBox(comboBox, Singletons.getControl().getCloseAction());
 }
 private void initializeColorIdentityCombobox() {
   final String[] elems = {
     ForgeConstants.DISP_CURRENT_COLORS_NEVER,
     ForgeConstants.DISP_CURRENT_COLORS_CHANGED,
     ForgeConstants.DISP_CURRENT_COLORS_MULTICOLOR,
     ForgeConstants.DISP_CURRENT_COLORS_MULTI_OR_CHANGED,
     ForgeConstants.DISP_CURRENT_COLORS_ALWAYS
   };
   final FPref userSetting = FPref.UI_DISPLAY_CURRENT_COLORS;
   final FComboBoxPanel<String> panel = this.view.getDisplayColorIdentity();
   final FComboBox<String> comboBox = createComboBox(elems, userSetting);
   final String selectedItem = this.prefs.getPref(userSetting);
   panel.setComboBox(comboBox, selectedItem);
 }