void (@NotNull IdeFrameImpl frame) { if (isVersion2()) { MacWinTabsHandlerV2._fastInit(frame); return; } if (JdkEx.setTabbingMode(frame, getWindowId(), () -> updateTabBars(null))) { Foundation.invoke("NSWindow", "setAllowsAutomaticWindowTabbing:", true); } }