void (@NotNull IdeGlassPaneImpl glassPane) { PainterHelper painters = glassPane.getNamedPainters$intellij_platform_ide_impl(FRAME_PROP); PainterHelper.initWallpaperPainter(FRAME_PROP, painters); painters.addPainter(new AbstractPainter() { EditorEmptyTextPainter p = null; @Override public boolean needsRepaint() { return true; } @Override public void executePaint(Component component, Graphics2D g) { if (p == null) { p = ApplicationManager.getApplication().getService(EditorEmptyTextPainter.class); } p.paintEmptyText((JComponent)component, g); } }, null); }