Changeset 64 in tmcsimulator for trunk/src/tmcsim/client/cadclientgui/screens/AssignedIncidents.java
- Timestamp:
- 03/16/2017 07:28:12 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/client/cadclientgui/screens/AssignedIncidents.java
r63 r64 15 15 import java.rmi.RemoteException; 16 16 import java.util.List; 17 import java.util.logging.Level; 18 import java.util.logging.Logger; 17 19 import javax.swing.Box; 18 20 import javax.swing.BoxLayout; … … 62 64 // labels for the drop down menu 63 65 private JLabel[] dropDownLabels = new JLabel[LABELS.length]; 66 private static Logger clientLogger = Logger.getLogger("tmcsim.client"); 64 67 private long lastLeftClick;// used for double clicking feature 65 68 … … 110 113 { 111 114 comp = super.prepareRenderer(renderer, row, column); 112 } catch (ArrayIndexOutOfBoundsException ex) 113 { 114 // our workaround is to just return a dummy value 115 // all will be redrawn in the next one second interval 115 } catch (Exception ex) 116 { 117 clientLogger.logp(Level.INFO, "AssignedIncidents", 118 "prepareRenderer", "row=" + row + " col=" + column, ex); 119 120 // Our workaround is to just return a dummy value. 121 // It will be erased in the next one second refresh 116 122 return new JLabel("?"); 117 123 }
Note: See TracChangeset
for help on using the changeset viewer.
