public static void update(@NotNull FontSize size) {
    JBSlider slider = SoftReference.dereference(ourCurrentSlider);
    if (slider != null && slider.isShowing()) {
      slider.setValueWithoutEvents(size.ordinal());
    }
  }
public static void update(@NotNull FontSize size)