private void updateProjectListEnabledStatus() {
    boolean isEnabled = myImportCodeStyleRB.isSelected() && !myCodeStylesListModel.isEmpty();
    myCodeStylesList.setEnabled(isEnabled);
    myOrganizeImportsCheckBox.setEnabled(isEnabled);
    if (isEnabled) {
      myCodeStylesList.getSelectionModel().setSelectionInterval(0, 0);
    }
    else {
      myCodeStylesList.getSelectionModel().clearSelection();
    }
  }
private void updateProjectListEnabledStatus()