void () { ComponentUtil.decorateWindowHeader(rootPane); ToolbarService.Companion.getInstance().setTransparentTitleBar(this, rootPane, runnable -> { Disposer.register(myDisposable, () -> runnable.run()); return Unit.INSTANCE; }); boolean isActive = myInfo.isActiveOnStart(); setAutoRequestFocus(isActive); try { super.show(); } finally { setAutoRequestFocus(true); } UISettings uiSettings = UISettings.getInstance(); if (uiSettings.getState().getEnableAlphaMode()) { WindowManagerEx windowManager = WindowManagerEx.getInstanceEx(); windowManager.setAlphaModeEnabled(this, true); if (isActive) { windowManager.setAlphaModeRatio(this, 0.0f); } else { windowManager.setAlphaModeRatio(this, uiSettings.getState().getAlphaModeRatio()); } } // this prevents annoying flick paint(getGraphics()); ApplicationManager.getApplication().getMessageBus().connect(myDelayAlarm).subscribe(UISettingsListener.TOPIC, myUISettingsListener); }