From 44bc9267acd79d75057280aa726c57f5db4afb41 Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@DESKTOP-2S09UKA>
Date: Thu, 29 Aug 2019 06:19:06 +0900
Subject: [PATCH] more explicit/understandable messages to user

---
 examples/src/OpenDis7Examples/PduListenerSaver.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/src/OpenDis7Examples/PduListenerSaver.java b/examples/src/OpenDis7Examples/PduListenerSaver.java
index 0af6b56ae1..63c382bb2b 100644
--- a/examples/src/OpenDis7Examples/PduListenerSaver.java
+++ b/examples/src/OpenDis7Examples/PduListenerSaver.java
@@ -57,22 +57,22 @@ public class PduListenerSaver
 
       recorder.startResume();
       mystate state = mystate.RUNNING;
-      System.out.println("* recorder.startResume(), state=RUNNING");
+      System.out.println("* recorder.startResume(), state=RUNNING, recording in progress...");
       Scanner scan = new Scanner(System.in);
 
       while (true) {
         System.out.println("Warning: you must quit when complete, otherwise recorded PDUs are lost!");
-        System.out.println("Type p/enter to pause, r/enter to resume, q/enter to quit");
+        System.out.println("Type p/enter to pause, r/enter to resume, q/enter to stop recording, save and quit");
         String line = scan.nextLine();
         if (line.equalsIgnoreCase("p") && state == mystate.RUNNING) {
           recorder.stopPause();
           state = mystate.PAUSED;
-          System.out.println("* recorder.stopPause(), state=PAUSED");
+          System.out.println("* recorder.stopPause(), state=PAUSED, recording paused...");
         }
         else if (line.equalsIgnoreCase("r") && state == mystate.PAUSED) {
           recorder.startResume();
           state = mystate.RUNNING;
-          System.out.println("* recorder.startResume(), state=RUNNING");
+          System.out.println("* recorder.startResume(), state=RUNNING, recording in progress...");
         }
         else if (line.equalsIgnoreCase("q")) {
           recorder.end();
-- 
GitLab