Index: /trunk/IDE_metadata/NetBeans/TMCSim/build.xml
===================================================================
--- /trunk/IDE_metadata/NetBeans/TMCSim/build.xml	(revision 226)
+++ /trunk/IDE_metadata/NetBeans/TMCSim/build.xml	(revision 310)
@@ -176,5 +176,5 @@
 
     <!--                   *** Build CAD Server Only Jar ***         -->
-      <jar destfile="${deploy.dir}/CADserver.jar"
+      <jar destfile="${deploy.dir}/CADserver_r${svna.version}.jar"
        basedir="${build.dir}/classes"
        includes="tmcsim/cadsimulator/**, tmcsim/common/**, tmcsim/interfaces/**,
@@ -189,5 +189,5 @@
 
       <!--                   *** Build Sim Manager Only Jar ***         -->
-      <jar destfile="${deploy.dir}/SimManager.jar"
+      <jar destfile="${deploy.dir}/SimManager_r${svna.version}.jar"
        basedir="${build.dir}/classes"
        includes="tmcsim/simulationmanager/**, tmcsim/common/**, tmcsim/cadmodels/**,
@@ -201,5 +201,5 @@
 
       <!--                   *** Build CAD Client Only Jar ***         -->
-      <jar destfile="${deploy.dir}/CADClient.jar"
+      <jar destfile="${deploy.dir}/CADClient_r${svna.version}.jar"
        basedir="${build.dir}/classes"
        includes="tmcsim/client/**, tmcsim/common/**, tmcsim/interfaces/**,
@@ -215,5 +215,5 @@
 
       <!--                   *** Build Clock Client Only Jar ***         -->
-      <jar destfile="${deploy.dir}/ClockClient.jar"
+      <jar destfile="${deploy.dir}/ClockClient_r${svna.version}.jar"
        basedir="${build.dir}/classes"
        includes="tmcsim/client/ClockClient*.class, tmcsim/client/ClockView.class,
Index: /trunk/src/tmcsim/cadsimulator/Coordinator.java
===================================================================
--- /trunk/src/tmcsim/cadsimulator/Coordinator.java	(revision 200)
+++ /trunk/src/tmcsim/cadsimulator/Coordinator.java	(revision 310)
@@ -500,5 +500,5 @@
 
         CADServer.theIncidentMgr.addIncident(newIncident);
-
+        cadData.addIncident(newIncident); // fixes #102
         if (simMgr != null)
         {
Index: /trunk/src/tmcsim/common/SimulationException.java
===================================================================
--- /trunk/src/tmcsim/common/SimulationException.java	(revision 2)
+++ /trunk/src/tmcsim/common/SimulationException.java	(revision 310)
@@ -19,5 +19,6 @@
      * Error Message: "Unable to connect to the CAD Simulator."
      */
-    public static final String CAD_SIM_CONNECT = "Unable to connect to the CAD Simulator.";
+    public static final String CAD_SIM_CONNECT = "Unable to connect to the CAD Server. "+
+            "Check that server is running at ";
     
     /** 
@@ -25,5 +26,5 @@
      * Error Message: "Unable to communicate with the CAD Simulator."
      */
-    public static final String CAD_SIM_COMM = "Unable to communicate with the CAD Simulator.";
+    public static final String CAD_SIM_COMM = "Unable to communicate with the CAD Server.";
     
     /** 
@@ -50,5 +51,5 @@
      * Error Message: "Unable to connect to the CAD Simulator."
      */
-    public static final String NULL_VIEW = "Unable to connect to the CAD Simulator.";
+    public static final String NULL_VIEW = "Unable to connect to the CAD Server.";
         
     /**
Index: /trunk/src/tmcsim/application.properties
===================================================================
--- /trunk/src/tmcsim/application.properties	(revision 291)
+++ /trunk/src/tmcsim/application.properties	(revision 310)
@@ -1,5 +1,5 @@
-#Sat, 02 Mar 2019 15:51:02 -0800
+#Wed, 13 Mar 2019 10:54:57 -0700
 
-Application.revision=289
+Application.revision=306
 
-Application.buildnumber=102
+Application.buildnumber=107
Index: /trunk/src/tmcsim/client/cadclientgui/screens/IncidentViewer.java
===================================================================
--- /trunk/src/tmcsim/client/cadclientgui/screens/IncidentViewer.java	(revision 288)
+++ /trunk/src/tmcsim/client/cadclientgui/screens/IncidentViewer.java	(revision 310)
@@ -387,65 +387,27 @@
     private void saveComment(String commentMsg)
     {
-                DateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
-                DateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
-                // prepare fields to be added to comment table
-                String[] fields =
-                {
-                    dateFormat.format(new Date()),
-                    timeFormat.format(new Date()),
-                    ScreenManager.getUserName(), // Put username in "Initials" column
-                    "", // "Block" is left blank for now 
-                    commentMsg
-                };
-                try
-                {
-                    // insert a new row in the comment table
-                    ScreenManager.theCoordinator.addCadDataIncidentTable(
-                            INC_TABLE.COMMENTS_NOTES, incidentId, fields);
-                    ((DefaultTableModel) commentsNotesTable.getModel()).insertRow(0, fields);
-                } catch (RemoteException e)
-                {
-                    e.printStackTrace();
-                }
-        
+        DateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
+        DateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
+        // prepare fields to be added to comment table
+        String[] fields =
+        {
+            dateFormat.format(new Date()),
+            timeFormat.format(new Date()),
+            ScreenManager.getUserName(), // Put username in "Initials" column
+            "", // "Block" is left blank for now 
+            commentMsg
+        };
+        try
+        {
+            // insert a new row in the comment table
+            ScreenManager.theCoordinator.addCadDataIncidentTable(
+                    INC_TABLE.COMMENTS_NOTES, incidentId, fields);
+            ((DefaultTableModel) commentsNotesTable.getModel()).insertRow(0, fields);
+        } catch (RemoteException e)
+        {
+            e.printStackTrace();
+        }
     }
-    // JD Add a mouselistener to the comments table to display a single cell
-    //  contents in a popup
-//    public MouseListener newCommentsTableCellListener()
-//    {
-//        return new MouseListener()
-//        {
-//            public void mousePressed(MouseEvent event)
-//            {
-//            }
-//
-//            public void mouseReleased(MouseEvent event)
-//            {
-//            }
-//
-//            public void mouseEntered(MouseEvent event)
-//            {
-//            }
-//
-//            public void mouseExited(MouseEvent event)
-//            {
-//            }
-//
-//            public void mouseClicked(MouseEvent event)
-//            {
-//                Point point = event.getPoint();
-//                int row, column;
-//                row = commentsNotesTable.rowAtPoint(point);
-//                column = commentsNotesTable.columnAtPoint(point);
-//                // See if the click was in column 4 (the comment column)
-//                if (column == 4)
-//                {
-//                    JOptionPane.showMessageDialog(null, getWrappedText((String) commentsNotesTable.getValueAt(row, column)),
-//                            "Comment/Note Text", JOptionPane.INFORMATION_MESSAGE);
-//                }
-//
-//            }
-//        };
-//    }
+
     private void initControllers()
     {
@@ -461,33 +423,4 @@
     }
 
-    /**
-     * A custom renderer that sets a tool tip with the wrapped comment. JD
-     */
-// Obsolete JD
-//    class LineWrapRenderer extends DefaultTableCellRenderer
-//    {
-//        public final static int kSegmentsize = 60;
-//
-//        protected void setValue(Object value)
-//        {
-//            String comment = (String) value;
-//            setText(comment);
-//            // Wrap long comments in a tooltip
-//            setToolTipText(getWrappedText(comment));
-//        }
-//    }
-//
-//    private String getWrappedText(String stringToWrap)
-//    {
-//        int limit = stringToWrap.length() / LineWrapRenderer.kSegmentsize;
-//        StringBuilder toolTip = new StringBuilder("<html>");
-//        for (int jumper = 0; jumper <= limit; jumper++)
-//        {
-//            toolTip.append(stringToWrap.substring(jumper * LineWrapRenderer.kSegmentsize, Math.min((jumper + 1) * LineWrapRenderer.kSegmentsize, stringToWrap.length())));
-//            toolTip.append("<br>");  // Use html break to cause a line break
-//        }
-//        toolTip.append("</html>");
-//        return toolTip.toString();
-//    }
     private void initLayout()
     {
Index: /trunk/src/tmcsim/client/cadclientgui/data/Incident.java
===================================================================
--- /trunk/src/tmcsim/client/cadclientgui/data/Incident.java	(revision 59)
+++ /trunk/src/tmcsim/client/cadclientgui/data/Incident.java	(revision 310)
@@ -263,4 +263,5 @@
 
     public Long getIncidentLength() {
+        if (eventList.size() == 0) return 0L;
         return eventList.lastElement().secondsToOccurInIncident
                 - eventList.firstElement().secondsToOccurInIncident;
Index: /trunk/src/tmcsim/client/cadclientgui/data/CADData.java
===================================================================
--- /trunk/src/tmcsim/client/cadclientgui/data/CADData.java	(revision 66)
+++ /trunk/src/tmcsim/client/cadclientgui/data/CADData.java	(revision 310)
@@ -155,5 +155,14 @@
         incidents = incident;
     }
-
+    /**
+     * Add a single new incident to the list of incidents. Fixes #102
+     * @param incident a single new incident to be added
+     * @author jdalbey
+     */
+    public void addIncident(Incident incident)
+    {
+        incidents.add(incident);
+    }
+    
     /**
      * Returns the specified unitNum
Index: /trunk/src/tmcsim/client/CADClient.java
===================================================================
--- /trunk/src/tmcsim/client/CADClient.java	(revision 33)
+++ /trunk/src/tmcsim/client/CADClient.java	(revision 310)
@@ -287,5 +287,5 @@
             theCoorInt.registerForCallback(this);
         } catch (Exception e) {
-            throw new SimulationException(SimulationException.CAD_SIM_CONNECT,
+            throw new SimulationException(SimulationException.CAD_SIM_CONNECT,hostname,
                     e);
         }
