void () { myRootPanel = new TransparentPanel(0.5f) { @Override public boolean isVisible() { if (!progress.showInPresentationMode()) { return false; } UISettings ui = UISettings.getInstance(); return ui.getPresentationMode() || !ui.getShowStatusBar() && Registry.is("ide.show.progress.without.status.bar"); } }; }