From a2cee2025f827279ed2770d9a5d2ba3b828196c1 Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@DESKTOP-2S09UKA>
Date: Sun, 4 Jul 2021 18:14:16 -0700
Subject: [PATCH] note total goal on repeating output

---
 examples/DisDemo/build.run.log.txt            | 45 ++++++++++---------
 .../DisDemo/src/DisDemo/DisDemonstration.java |  4 +-
 2 files changed, 25 insertions(+), 24 deletions(-)

diff --git a/examples/DisDemo/build.run.log.txt b/examples/DisDemo/build.run.log.txt
index 96f385821a..36a30e8b6d 100644
--- a/examples/DisDemo/build.run.log.txt
+++ b/examples/DisDemo/build.run.log.txt
@@ -3,48 +3,51 @@ init:
 Deleting: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\DisDemo\build\built-jar.properties
 deps-jar:
 Updating property file: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\DisDemo\build\built-jar.properties
+Compiling 1 source file to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\DisDemo\build\classes
+warning: [options] bootstrap class path not set in conjunction with -source 8
+1 warning
 compile:
 run:
 DisDemo.DisDemonstration: sending 20 ESPDU packets at 1000 msec (1.0 second) intervals on
-  broadcast address=[/172.16.0.255, /172.20.209.219, /172.24.159.255] port 3000
+  broadcast address=[/172.16.0.255] port 3000
 Current position: 0.0, 1.0, 0.0
-... sent 1
+... sent 1 of 20
 Current position: 0.0, 2.0, 0.0
-... sent 2
+... sent 2 of 20
 Current position: 0.0, 3.0, 0.0
-... sent 3
+... sent 3 of 20
 Current position: 0.0, 4.0, 0.0
-... sent 4
+... sent 4 of 20
 Current position: 0.0, 5.0, 0.0
-... sent 5
+... sent 5 of 20
 Current position: 0.0, 6.0, 0.0
-... sent 6
+... sent 6 of 20
 Current position: 0.0, 7.0, 0.0
-... sent 7
+... sent 7 of 20
 Current position: 0.0, 8.0, 0.0
-... sent 8
+... sent 8 of 20
 Current position: 0.0, 9.0, 0.0
-... sent 9
+... sent 9 of 20
 Current position: 0.0, 10.0, 0.0
-... sent 10
+... sent 10 of 20
 Current position: 0.0, 11.0, 0.0
-... sent 11
+... sent 11 of 20
 Current position: 0.0, 12.0, 0.0
-... sent 12
+... sent 12 of 20
 Current position: 0.0, 13.0, 0.0
-... sent 13
+... sent 13 of 20
 Current position: 0.0, 14.0, 0.0
-... sent 14
+... sent 14 of 20
 Current position: 0.0, 15.0, 0.0
-... sent 15
+... sent 15 of 20
 Current position: 0.0, 16.0, 0.0
-... sent 16
+... sent 16 of 20
 Current position: 0.0, 17.0, 0.0
-... sent 17
+... sent 17 of 20
 Current position: 0.0, 18.0, 0.0
-... sent 18
+... sent 18 of 20
 Current position: 0.0, 19.0, 0.0
-... sent 19
+... sent 19 of 20
 Current position: 0.0, 20.0, 0.0
-... sent 20
+... sent 20 of 20
 BUILD SUCCESSFUL (total time: 21 seconds)
diff --git a/examples/DisDemo/src/DisDemo/DisDemonstration.java b/examples/DisDemo/src/DisDemo/DisDemonstration.java
index 6d839c6a7e..3607226546 100644
--- a/examples/DisDemo/src/DisDemo/DisDemonstration.java
+++ b/examples/DisDemo/src/DisDemo/DisDemonstration.java
@@ -106,16 +106,14 @@ public class DisDemonstration {
                     packet = new DatagramPacket(buffer.array(), buffer.array().length, aBcast, PORT);
                     socket.send(packet);
                }
-              
+               System.out.println("... sent " + index + " of " + NUMBER_OF_SENDS);
                Thread.sleep(INTERVAL_MSEC);
-               System.out.println("... sent " + index);
            }
         }
         catch(IOException | InterruptedException e)
         {
             System.err.println(e);
         }
-        
     }
     /** Get list of network addresses for broadcast packets
      * @return list of network addresses */
-- 
GitLab