private @NotNull Component getComponent() {
    Component comp = null;
    WeakReference<Component> compRef = myComp.get();
    if (compRef != null) {
      comp = compRef.get();
    }
    return comp != null ? comp : DEFAULT_COMPONENT.get();
  }
private @NotNull Component getComponent()