private void update(@NotNull FontPreferences currPreferences) {
      myItems.clear();
      String currFamily = currPreferences.getFontFamily();
      String recommended = getRecommendedSubFamily(currFamily);
      FontFamilyService.getSubFamilies(currFamily).forEach(
        subFamily -> myItems.add(new MyWeightItem(subFamily, subFamily.equals(recommended)))
      );
      String subFamily = getSubFamily(currPreferences);
      setSelectedItem(subFamily != null ? subFamily : recommended);
      fireContentsChanged(this, -1, -1);
    }
private void update(@NotNull FontPreferences currPreferences)