@Override
    public void addNotify() {
      if (IdeFrameDecorator.Companion.isCustomDecorationActive()) {
        CustomHeader.Companion.enableCustomHeader(this);
      }
      super.addNotify();
      if (SystemInfo.isMacOSVentura && Registry.is("ide.mac.stage.manager.support", false)) {
        Foundation.executeOnMainThread(true, false, () -> {
          ID window = MacUtil.getWindowFromJavaWindow(this);
          Foundation.invoke(window, "setCollectionBehavior:", 1 << 4);
        });
      }
    }
@Override
    public void addNotify()