Changeset 459 in tmcsimulator for trunk/src/tmcsim
- Timestamp:
- 07/21/2019 05:38:16 PM (7 years ago)
- Location:
- trunk/src/tmcsim
- Files:
-
- 4 edited
-
application.properties (modified) (1 diff)
-
client/cadclientgui/screens/IncidentEditor.java (modified) (1 diff)
-
client/cadclientgui/screens/IncidentViewer.java (modified) (2 diffs)
-
simulationmanager/SimulationManagerView.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/application.properties
r458 r459 1 # Fri, 19 Jul 2019 09:44:03-07001 #Sun, 21 Jul 2019 19:11:06 -0700 2 2 3 Application.revision=45 73 Application.revision=458 4 4 5 Application.buildnumber=16 55 Application.buildnumber=166 -
trunk/src/tmcsim/client/cadclientgui/screens/IncidentEditor.java
r59 r459 31 31 * This class contains the view and controller for the IncidentEditor screen. 32 32 * The view is built using a GUI builder plug-in, and the controller uses 33 * listeners to control how the view and data act. 33 * listeners to control how the view and data act. The IncidentEditor is 34 * opened from the Inform CAD main menu. 34 35 * 35 36 * @author Stuart -
trunk/src/tmcsim/client/cadclientgui/screens/IncidentViewer.java
r414 r459 69 69 addBindings(); 70 70 } 71 72 71 /** 73 72 * This method is called from within the constructor to initialize the form. … … 2119 2118 } 2120 2119 2121 // JD Invoked by timer every 5 seconds .2120 // JD Invoked by timer every 5 seconds (Timer2 in ScreenManager). 2122 2121 public void refreshCommentsNotesTable() 2123 2122 { -
trunk/src/tmcsim/simulationmanager/SimulationManagerView.java
r416 r459 26 26 import javax.swing.JTable; 27 27 import javax.swing.SpinnerNumberModel; 28 import javax.swing.SwingUtilities; 28 29 import javax.swing.border.CompoundBorder; 29 30 import javax.swing.border.EtchedBorder; … … 181 182 * @param logNumber Log number for this incident. 182 183 */ 183 public void addIncidentTab(Integer logNumber) { 184 185 IncidentHistoryPanel newHistoryPanel = new IncidentHistoryPanel(); 186 187 incidentTableMap.put(logNumber, newHistoryPanel); 188 189 eventHistoryPane.addTab(String.valueOf(logNumber), newHistoryPanel); 190 184 public void addIncidentTab(final Integer logNumber) { 185 // Place this code on EDT to fix defect #154 186 SwingUtilities.invokeLater(new Runnable(){public void run(){ 187 IncidentHistoryPanel newHistoryPanel = new IncidentHistoryPanel(); 188 189 incidentTableMap.put(logNumber, newHistoryPanel); 190 191 eventHistoryPane.addTab(String.valueOf(logNumber), newHistoryPanel); 192 }}); 191 193 } 192 194
Note: See TracChangeset
for help on using the changeset viewer.
