void () { super.stop(); if (myScheduledStatusBarTextSave) { SwingUtilities.invokeLater( () -> { for (StatusBar statusBar : myStatusBar2SavedText.keySet()) { String textToRestore = updateRestoreText(statusBar); statusBar.setInfo(textToRestore); } myStatusBar2SavedText.clear(); } ); } }