void (@NotNull AnActionEvent e) { Window activeFrame = IdeFrameImpl.getActiveFrame(); if (activeFrame == null) return; if (!JBCefApp.isSupported()) { JBPopupFactory.getInstance().createComponentPopupBuilder( new JTextArea("Set the reg key to enable JCEF:\n\"ide.browser.jcef.enabled=true\""), null). setTitle("JCEF Web Browser Is not Supported"). createPopup(). showInCenterOf(activeFrame); return; } showBrowser(JBCefApp.isOffScreenRenderingModeEnabled()); }