void () { super.prepareConsoleAfterProcessEnd(); ApplicationManager.getApplication().invokeAndWait(() -> { // Print output of tests to console (because console may be scrolled) myProxyManager.getProxy().getAllTests().get(0).printOn(myExecutionConsole.getPrinter()); }, ModalityState.nonModal()); }