void (@Nullable Component parentComponent) { if (parentComponent == null) return; ApplicationManager.getApplication().getMessageBus().syncPublisher(WelcomeScreenComponentListener.COMPONENT_CHANGED) .detachComponent(parentComponent, null); }