Changeset 89 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/IncidentEditorFrame.java
- Timestamp:
- 08/28/2017 01:38:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/gui/IncidentEditorFrame.java
r81 r89 8 8 9 9 import java.awt.Adjustable; 10 import java.awt.Color;11 10 import java.awt.event.AdjustmentEvent; 12 11 import java.awt.event.AdjustmentListener; … … 54 53 */ 55 54 private ArrayList<JButton> eventButtons = null; 56 /**57 * True if we are currently editing an incident.58 */59 private boolean editingIncident;60 /**61 * Index of the previous incident.62 */63 int oldIncidentIndex;64 55 65 56 /** … … 127 118 } 128 119 129 JButton newButton = null;120 JButton newButton = lastButton; 130 121 switch (e.getKeyChar()) 131 122 { … … 1470 1461 addNoiseFrame.setVisible(false); 1471 1462 1472 update(null, theIncident);1463 this.update(null, theIncident); 1473 1464 }//GEN-LAST:event_jButton2ActionPerformed 1474 1465 … … 1700 1691 zoomSlider.setValue(zoomSlider.getValue() <= 5 ? 5 : zoomSlider.getValue() - 1); 1701 1692 }//GEN-LAST:event_zoomOutIconMouseClicked 1702 private Color selectedColor = Color.BLACK;1703 1693 1704 1694 /**
Note: See TracChangeset
for help on using the changeset viewer.
