Changeset 654 in tmcsimulator for trunk/src/tmcsim/cadsimulator/CADServer.java
- Timestamp:
- 09/09/2022 04:11:08 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/tmcsim/cadsimulator/CADServer.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/cadsimulator/CADServer.java
r455 r654 291 291 theCoordinator); 292 292 theTrafficMgr.addObserver(theViewer); 293 theTrafficMgr.run(); 294 293 295 294 theMediaMgr = new MediaManager( 296 295 cadServerProperties.getProperty( … … 346 345 347 346 theViewer.setVisible(true); 347 // I think the traffic mgr has to run AFTER viewer is set visible, because 348 // inside run() it loads traffic events and wants to notify the view 349 // to update itself ... so the view must be visible first? 350 // When this stmt was prior to setVisible, we hung on setVisible. 351 theTrafficMgr.run(); 348 352 349 353 }
Note: See TracChangeset
for help on using the changeset viewer.
