Changeset 475 in tmcsimulator for trunk/src/tmcsim/client/cadclientgui/screens/UnitStatus.java
- Timestamp:
- 08/23/2019 01:49:50 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/client/cadclientgui/screens/UnitStatus.java
r458 r475 165 165 } 166 166 167 // Set the cell colors depending on the unit's status 167 168 int unitNumColumn = 2; 168 169 try 169 170 { 170 switch (ScreenManager.theCoordinator 171 .getCadDataUnitStatus((String) unitStatusTable 172 .getValueAt(row, unitNumColumn))) 171 String unitNum = (String) unitStatusTable.getValueAt(row, unitNumColumn); 172 173 UnitStatusEnums status = ScreenManager.theCoordinator 174 .getCadDataUnitStatus(unitNum); 175 switch (status) 173 176 { 174 177 case Assignable: … … 1088 1091 unitStatusTable.getSelectionModel().setSelectionInterval(index, index); 1089 1092 }}); 1090 1093 // Perhaps these aren't needed since changing the model should cause auto repaint. 1091 1094 revalidate(); 1092 1095 repaint();
Note: See TracChangeset
for help on using the changeset viewer.
