Index: /trunk/src/tmcsim/application.properties
===================================================================
--- /trunk/src/tmcsim/application.properties	(revision 345)
+++ /trunk/src/tmcsim/application.properties	(revision 346)
@@ -1,5 +1,5 @@
-#Sun, 24 Mar 2019 11:13:40 -0700
+#Sun, 24 Mar 2019 20:49:11 -0700
 
-Application.revision=344
+Application.revision=345
 
 Application.buildnumber=110
Index: /trunk/src/tmcsim/simulationmanager/dialogs/GotoTimeIndexDialog.java
===================================================================
--- /trunk/src/tmcsim/simulationmanager/dialogs/GotoTimeIndexDialog.java	(revision 2)
+++ /trunk/src/tmcsim/simulationmanager/dialogs/GotoTimeIndexDialog.java	(revision 346)
@@ -13,9 +13,8 @@
 import javax.swing.JDialog;
 import javax.swing.JLabel;
-import javax.swing.JSpinner;
+import javax.swing.UIManager;
 
 import tmcsim.simulationmanager.SimulationManagerView;
-import tmcsim.simulationmanager.model.IncidentTimeSpinnerModel;
-
+import timeselector.*;
 
 /**
@@ -26,5 +25,5 @@
  *
  * @author Matthew Cechini
- * @version
+ * Modifed to use timeselector by jdalbey 3/24/2019
  */
 @SuppressWarnings("serial")
@@ -47,6 +46,4 @@
         
         initComponents();   
-        
-        timeSpinner.setValue(initialValue);     
 
         Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
@@ -97,8 +94,5 @@
         });
         
-        incidentTimeModel = new IncidentTimeSpinnerModel();
-        timeSpinner = new JSpinner(incidentTimeModel);
-        timeSpinner.setMaximumSize(new Dimension(70,20));
-        timeSpinner.setAlignmentX(Box.CENTER_ALIGNMENT);
+        fldTimeSelection = new TimeSelectionField(false);
         
         buttonBox = new Box(BoxLayout.X_AXIS);
@@ -117,5 +111,5 @@
         gotoIndexBox.add(gotoLabel);
         gotoIndexBox.add(Box.createVerticalStrut(10));
-        gotoIndexBox.add(timeSpinner);
+        gotoIndexBox.add(fldTimeSelection);
         gotoIndexBox.add(Box.createVerticalStrut(10));
         gotoIndexBox.add(buttonBox);    
@@ -128,17 +122,32 @@
     
     /**
-     * Gets a string representation of the time set by the time
-     * spinner in the dialog.  Format:  H:MM:SS
-     * @return String representation of spinner time.
+     * Accessor to the String representation of user selected time. The text
+     * field contains a String representation of the time in a format produced
+     * by SimpleDateFormat pattern "h:mm:ss", e.g., "3:26:00"
+     *
+     * @return String containing the selected time.
      */
-    public String getGotoTime() {
-        return (String)timeSpinner.getValue();
+    public String getGotoTime() 
+    {
+        String result = fldTimeSelection.getText();
+        return result.substring(1, result.length());
     }   
     
+    /** Local main for unit testing */
+    public static void main(String[] args)
+    {
+        try
+        {
+            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+        } catch (Exception ex)
+        {
+            ex.printStackTrace();
+        }
+
+        GotoTimeIndexDialog dlg = new GotoTimeIndexDialog(null,0);
+        System.out.println(dlg.getGotoTime());
+    }
     
     private JLabel gotoLabel;
-    private JSpinner timeSpinner;
-    
-    private IncidentTimeSpinnerModel incidentTimeModel;
     
     private JButton cancelButton;;
@@ -148,3 +157,4 @@
     private Box buttonBox;  
     
+    private TimeSelectionField fldTimeSelection;
 }
