private @Nullable String getConfiguredProfileName() {
    String selected = (String)myProfileCombobox.getSelectedItem();
    return Objects.equals(defaultProfile, selected) ? null : selected;
  }
private @Nullable String getConfiguredProfileName()