void (@Nls String text, float fraction) { ProblemsViewPanel panel = myPanel; if (panel == null) { myViewUpdater.execute(() -> myPanel.setProgress(text, fraction)); } else { panel.setProgress(text, fraction); } }