public static void addParentChangeListener(@NotNull Component component, @NotNull PropertyChangeListener listener) {
    component.addPropertyChangeListener("ancestor", listener);
  }
public static void addParentChangeListener(@NotNull Component component, @NotNull PropertyChangeListener listener)