public final void addTo(@NotNull JComponent component, @NotNull Disposable parent) {
    addTo(component);
    Disposer.register(parent, () -> removeFrom(component));
  }
public final void addTo(@NotNull JComponent component, @NotNull Disposable parent)