From 7ab763102c2be5b7dca6dad5432793639a74d812 Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Fri, 11 Mar 2016 10:22:06 +0100 Subject: [PATCH] Add shutdown info popup --- gui/src/main/java/io/bitsquare/app/BitsquareApp.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gui/src/main/java/io/bitsquare/app/BitsquareApp.java b/gui/src/main/java/io/bitsquare/app/BitsquareApp.java index f45a7a4c0b..ed4ecb141d 100644 --- a/gui/src/main/java/io/bitsquare/app/BitsquareApp.java +++ b/gui/src/main/java/io/bitsquare/app/BitsquareApp.java @@ -310,6 +310,10 @@ public class BitsquareApp extends Application { private void gracefulShutDown(ResultHandler resultHandler) { log.debug("gracefulShutDown"); + new Popup().headLine("Shut down in progress") + .backgroundInfo("Shutting down application can take a few seconds.\n" + + "Please don't interrupt that process.").closeButtonText("Ok") + .show(); try { if (injector != null) { injector.getInstance(ArbitratorManager.class).shutDown();