void (@NotNull IdeFrame ideFrame) { JFrame frame; if (ideFrame instanceof JFrame) { frame = (JFrame)ideFrame; } else { frame = ((ProjectFrameHelper)ideFrame).getFrame(); } if (isProgressAppIconEnabled()) { _hideProgress(frame, myCurrentProcessId); } _setOkBadge(frame, false); _setTextBadge(frame, null); }