private boolean isWithinChildWindow(@NotNull MouseEvent event) {
    Component owner = ComponentUtil.getWindow(myContent);
    if (owner != null) {
      Component child = ComponentUtil.getWindow(event.getComponent());
      if (child != owner) {
        for (; child != null; child = child.getParent()) {
          if (child == owner) {
            return true;
          }
        }
      }
    }
    return false;
  }
private boolean isWithinChildWindow(@NotNull MouseEvent event)