Changeset 246 in tmcsimulator
- Timestamp:
- 02/07/2019 03:13:59 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
-
atmsdriver/TrafficEventsAnimator.java (modified) (3 diffs)
-
tmcsim/application.properties (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/atmsdriver/TrafficEventsAnimator.java
r232 r246 53 53 private List<String> history; 54 54 /** 55 * name of events file obtained from properties 56 */ 57 private String events_file = ""; 58 /** 55 59 * Creates the JPanel and builds the highways and events. 56 60 */ … … 69 73 + CONFIG_FILE_NAME; 70 74 Properties props = TrafficModelManager.loadProperties(propertiesFile); 71 75 events_file = props.getProperty("Events_File"); 72 76 FileInputStream fis = null; 73 77 try 74 78 { 75 fis = new FileInputStream( props.getProperty("Events_File"));79 fis = new FileInputStream(events_file); 76 80 } catch (FileNotFoundException ex) 77 81 { 78 82 Logger.getLogger(TrafficModelManager.class.getName()).log(Level.SEVERE, null, 79 "Missing Traffic Events file " + props.getProperty("Events_File"));83 "Missing Traffic Events file " + events_file); 80 84 System.exit(-1); 81 85 } … … 87 91 public void load() 88 92 { 89 txtDisplay.setText("Loading ...");93 txtDisplay.setText("Loading traffic events from: " + events_file); 90 94 history = new ArrayList<String>(); 91 95 // If we have any events left to process -
trunk/src/tmcsim/application.properties
r242 r246 1 # Wed, 20 Dec 2017 05:21:29-08001 #Thu, 07 Feb 2019 15:47:33 -0800 2 2 3 Application.revision=24 03 Application.revision=242 4 4 5 Application.buildnumber= 885 Application.buildnumber=91
Note: See TracChangeset
for help on using the changeset viewer.
