Changeset 73 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/IncidentPaletteFrame.java
- Timestamp:
- 08/24/2017 01:51:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/gui/IncidentPaletteFrame.java
r69 r73 35 35 JPanel panelAdd; 36 36 37 private int incidentCount;38 39 37 /** 40 38 * Creates new form IncidentPaletteFrame … … 50 48 incidentList = new ArrayList<ScriptIncident>(); 51 49 52 incidentCount = 0;53 54 50 panelAdd.setLayout(new GridLayout(0, 1)); 55 51 … … 121 117 private void loadPanels(ArrayList<ScriptIncident> incList) 122 118 { 123 incidentCount = 0;124 119 scrollAddPanels.setViewport(new JViewport()); 125 120 panelAdd.removeAll(); 126 labelFileCount.setText("Found " +incList.size()+" available incidents.");121 labelFileCount.setText("Found " + incList.size() + " available incidents."); 127 122 for (ScriptIncident inc : incList) 128 123 { 129 ++incidentCount;130 124 131 125 panelAdd.add(new IncidentPaletteAddPanel(inc, this));
Note: See TracChangeset
for help on using the changeset viewer.
