bring window to front when restored after being minimized to tray

This commit is contained in:
Craig Raw 2022-11-09 12:37:55 +02:00
parent fd0fe1110d
commit 7e7795196c

View file

@ -63,6 +63,8 @@ public class TrayManager {
miStage.setFont(Font.decode(null).deriveFont(Font.BOLD));
miStage.addActionListener(e -> Platform.runLater(() -> {
stage.show();
stage.setAlwaysOnTop(true);
stage.setAlwaysOnTop(false);
EventQueue.invokeLater(() -> {
popupMenu.remove(miStage);