void (@NotNull TipAndTrickBean tip) { IdeFrame projectFrame = myProject != null ? WindowManager.getInstance().getIdeFrame(myProject) : null; IdeFrame welcomeFrame = WelcomeFrame.getInstance(); Component contextComponent = this.isShowing() ? this : projectFrame != null ? projectFrame.getComponent() : welcomeFrame != null ? welcomeFrame.getComponent() : null; if (contextComponent == null) { LOG.warn("Not found context component"); } ApplicationManager.getApplication().executeOnPooledThread(() -> { List<TextParagraph> tipContent = TipUtils.loadAndParseTip(tip, contextComponent); ApplicationManager.getApplication().invokeLater(() -> doSetTip(tip, tipContent), ModalityState.stateForComponent(this)); }); }