@Override
  public void setTargetComponent(@Nullable JComponent component) {
    if (myTargetComponent == null) {
      putClientProperty(SUPPRESS_TARGET_COMPONENT_WARNING, true);
    }
    if (myTargetComponent != component) {
      myTargetComponent = component;
      if (isShowing()) {
        updateActionsImmediately();
      }
    }
  }
@Override
  public void setTargetComponent(@Nullable JComponent component)