@Nullable
  String getSelectedSubFamily() {
    Object selected = myModel.getSelectedItem();
    return selected instanceof MyWeightItem ? ((MyWeightItem)selected).subFamily : null;
  }
@Nullable
  String getSelectedSubFamily()