source: tmcsimulator-scriptbuilder/branches/ScriptBuilder4/src/scriptbuilder/gui/ScriptBuilderFrame.java @ 6

Revision 6, 132.6 KB checked in by jdalbey, 9 years ago (diff)

Add original prototype to branch

Line 
1/*
2 * ScriptBuilderFrame.java
3 *
4 * Created on May 8, 2010, 12:01:46 PM
5 */
6package scriptbuilder.gui;
7
8import java.awt.Adjustable;
9import java.awt.Color;
10import java.awt.Cursor;
11import java.awt.event.AdjustmentEvent;
12import java.awt.event.AdjustmentListener;
13import java.awt.event.KeyEvent;
14import java.awt.event.KeyListener;
15import java.io.File;
16import java.util.ArrayList;
17import java.util.Observable;
18import java.util.Observer;
19import java.util.Random;
20import javax.swing.DefaultListModel;
21import javax.swing.JButton;
22import javax.swing.JFileChooser;
23import javax.swing.JOptionPane;
24import javax.swing.UIManager;
25import javax.swing.UnsupportedLookAndFeelException;
26import scriptbuilder.structures.ScriptEvent;
27import scriptbuilder.structures.ScriptEvent.ScriptEventType;
28import scriptbuilder.structures.ScriptIncident;
29import scriptbuilder.structures.ScriptIncident.IncidentFocusedEvent;
30import scriptbuilder.structures.ScriptIncident.SliceChangedEvent;
31import scriptbuilder.structures.SimulationScript;
32import scriptbuilder.structures.TimeSlice;
33
34/**
35 *
36 * @author Greg
37 */
38public class ScriptBuilderFrame extends javax.swing.JFrame implements Observer
39{
40    private SimulationScript script;
41    public ScriptEventType currentEventType;
42    private ArrayList<JButton> eventButtons = null;
43
44    private boolean edittingIncident;
45    int oldIncidentIndex;
46
47    public SimulationScript getScript()
48    {
49        System.out.println("Change");
50        return script;
51    }
52
53    class MyAdjustmentListener implements AdjustmentListener
54    {
55        public void adjustmentValueChanged(AdjustmentEvent evt)
56        {
57            if (evt.getAdjustable().getOrientation() == Adjustable.HORIZONTAL)
58            {
59                timeStampScrollPane.getHorizontalScrollBar()
60                    .setValue(timelinesScrollPane.getHorizontalScrollBar().getValue());
61            } else
62            {
63                // Event from vertical scrollbar
64            }
65
66            repaint();
67        }
68    }
69
70    private class TimelineKeyListener implements KeyListener
71    {
72        public void keyPressed(KeyEvent e)
73        {
74            JButton lastButton = null;
75            for (JButton eb : eventButtons)
76            {
77                eb.setFocusPainted(false);
78                if (eb.isSelected())
79                {
80                    lastButton = eb;
81                }
82                eb.setSelected(false);
83            }
84
85            JButton newButton = null;
86            switch(e.getKeyChar())
87            {
88                case 'u':
89                    currentEventType = ScriptEventType.AUDIO_EVENT;
90                    newButton = audioButton;
91                    break;
92                case 'c':
93                    currentEventType = ScriptEventType.CAD_EVENT;
94                    newButton = cadButton;
95                    break;
96                case 'v':
97                    currentEventType = ScriptEventType.CCTV_EVENT;
98                    newButton = cctvButton;
99                    break;
100                case 'h':
101                    currentEventType = ScriptEventType.CHP_RADIO_EVENT;
102                    newButton = chpRadioButton;
103                    break;
104                case 'p':
105                    currentEventType = ScriptEventType.PARAMICS_EVENT;
106                    newButton = paramicsButton;
107                    break;
108                case 'o':
109                    currentEventType = ScriptEventType.TOW_EVENT;
110                    newButton = towButton;
111                    break;
112                case 'n':
113                    currentEventType = ScriptEventType.UNIT_EVENT;
114                    newButton = unitButton;
115                    break;
116                case 'w':
117                    currentEventType = ScriptEventType.WITNESS_EVENT;
118                    newButton = witnessButton;
119                    break;
120                case 'm':
121                    currentEventType = ScriptEventType.MAINTENANCE_RADIO_EVENT;
122                    newButton = maintenanceRadioButton;
123                    break;
124                case 't':
125                    currentEventType = ScriptEventType.TMT_RADIO_EVENT;
126                    newButton = tmtRadioButton;
127                    break;
128                case 'e':
129                    currentEventType = ScriptEventType.TELEPHONE_EVENT;
130                    newButton = telephoneButton;
131                    break;
132                case 'a':
133                    currentEventType = ScriptEventType.ATMS_EVAL_EVENT;
134                    newButton = atmsEvalButton;
135                    break;
136                case 'l':
137                    currentEventType = ScriptEventType.ACTIVITY_LOG_EVAL_EVENT;
138                    newButton = activityLogEvalButton;
139                    break;
140                case 'd':
141                    currentEventType = ScriptEventType.CAD_EVAL_EVENT;
142                    newButton = cadEvalButton;
143                    break;
144                case 's':
145                    currentEventType = ScriptEventType.CMS_EVAL_EVENT;
146                    newButton = cmsEvalButton;
147                    break;
148                case 'f':
149                    currentEventType = ScriptEventType.FACILITATOR_EVAL_EVENT;
150                    newButton = facilitatorEvalButton;
151                    break;
152                case 'r':
153                    currentEventType = ScriptEventType.RADIO_EVAL_EVENT;
154                    newButton = radioEvalButton;
155                    break;
156                default:
157                    newButton = lastButton;
158            }
159
160            if (e.getKeyCode() == KeyEvent.VK_ESCAPE)
161            {
162                currentEventType = null;
163                newButton = selectButton;
164            }
165
166            if (newButton != null)
167            {
168                newButton.setSelected(true);
169            }
170
171            repaint();
172        }
173
174
175        public void keyReleased(KeyEvent e)
176
177        {
178        }
179
180        public void keyTyped(KeyEvent e)
181        {
182        }
183    }
184
185    /** Creates new form ScriptBuilderFrame */
186    public ScriptBuilderFrame()
187    {
188        script = new SimulationScript();
189        script.addObserver(this);
190        initComponents();
191        this.update(null, script);
192        selectButton.addKeyListener(new TimelineKeyListener());
193        cadButton.addKeyListener(new TimelineKeyListener());
194        cctvButton.addKeyListener(new TimelineKeyListener());
195        chpRadioButton.addKeyListener(new TimelineKeyListener());
196        paramicsButton.addKeyListener(new TimelineKeyListener());
197        towButton.addKeyListener(new TimelineKeyListener());
198        unitButton.addKeyListener(new TimelineKeyListener());
199        witnessButton.addKeyListener(new TimelineKeyListener());
200        maintenanceRadioButton.addKeyListener(new TimelineKeyListener());
201        tmtRadioButton.addKeyListener(new TimelineKeyListener());
202        telephoneButton.addKeyListener(new TimelineKeyListener());
203        atmsEvalButton.addKeyListener(new TimelineKeyListener());
204        activityLogEvalButton.addKeyListener(new TimelineKeyListener());
205        cadEvalButton.addKeyListener(new TimelineKeyListener());
206        cmsEvalButton.addKeyListener(new TimelineKeyListener());
207        facilitatorEvalButton.addKeyListener(new TimelineKeyListener());
208        radioEvalButton.addKeyListener(new TimelineKeyListener());
209
210        // Hack to refresh the zoom
211        zoomSlider.setValue(zoomSlider.getValue()-1);
212        zoomSlider.setValue(zoomSlider.getValue()+1);
213
214        // Set listener for scroll pane
215        AdjustmentListener listener = new MyAdjustmentListener();
216        timelinesScrollPane.getHorizontalScrollBar().addAdjustmentListener(listener);
217        timelinesScrollPane.getVerticalScrollBar().addAdjustmentListener(listener);
218
219        // Button list
220        eventButtons = new ArrayList<JButton>();
221        eventButtons.add(maintenanceRadioButton);
222        eventButtons.add(tmtRadioButton);
223        eventButtons.add(telephoneButton);
224        eventButtons.add(paramicsButton);
225        eventButtons.add(towButton);
226        eventButtons.add(witnessButton);
227        eventButtons.add(unitButton);
228        eventButtons.add(audioButton);
229        eventButtons.add(cadButton);
230        eventButtons.add(cctvButton);
231        eventButtons.add(chpRadioButton);
232        eventButtons.add(selectButton);
233        eventButtons.add(cmsEvalButton);
234        eventButtons.add(atmsEvalButton);
235        eventButtons.add(cadEvalButton);
236        eventButtons.add(activityLogEvalButton);
237        eventButtons.add(facilitatorEvalButton);
238        eventButtons.add(radioEvalButton);
239    }
240
241    @Override
242    public void update(Observable o, Object arg)
243    {
244        if (arg instanceof SimulationScript)
245        {
246            script = (SimulationScript)arg;
247
248            if (script.incidents.size() != 10)
249                return;
250
251            timelineTickPanel.update(script);
252            timeStampPanel.update(script);
253
254            incidentTimelinePanel1.update(script.incidents.get(0));
255            incidentTimelinePanel2.update(script.incidents.get(1));
256            incidentTimelinePanel3.update(script.incidents.get(2));
257            incidentTimelinePanel4.update(script.incidents.get(3));
258            incidentTimelinePanel5.update(script.incidents.get(4));
259            incidentTimelinePanel6.update(script.incidents.get(5));
260            incidentTimelinePanel7.update(script.incidents.get(6));
261            incidentTimelinePanel8.update(script.incidents.get(7));
262            incidentTimelinePanel9.update(script.incidents.get(8));
263            incidentTimelinePanel10.update(script.incidents.get(9));
264
265            incidentNumberPanel1.update(script.incidents.get(0));
266            incidentNumberPanel2.update(script.incidents.get(1));
267            incidentNumberPanel3.update(script.incidents.get(2));
268            incidentNumberPanel4.update(script.incidents.get(3));
269            incidentNumberPanel5.update(script.incidents.get(4));
270            incidentNumberPanel6.update(script.incidents.get(5));
271            incidentNumberPanel7.update(script.incidents.get(6));
272            incidentNumberPanel8.update(script.incidents.get(7));
273            incidentNumberPanel9.update(script.incidents.get(8));
274            incidentNumberPanel10.update(script.incidents.get(9));
275
276            /**DefaultComboBoxModel model = new DefaultComboBoxModel();
277            for (ScriptIncident i : script.incidents)
278            {
279                if (i != null)
280                    model.addElement(i);
281            }
282            gotoIncident.setModel(model);**/
283
284            this.setPreferredSize(this.getSize());
285            pack();
286        }
287        else if (arg instanceof SliceChangedEvent)
288        {
289            TimeSlice slice = ((SliceChangedEvent)arg).slice;
290
291            DefaultListModel model = new DefaultListModel();
292            for (ScriptEvent e : slice.events)
293            {
294                model.addElement(e);
295            }
296            scriptEventsList.setModel(model);
297        }
298        else if (arg instanceof IncidentFocusedEvent)
299        {
300            ScriptIncident i = ((IncidentFocusedEvent)arg).incident;
301
302            incidentNumber.setText(Integer.toString(i.number));
303            incidentName.setText(i.name);
304            incidentDescription.setText(i.description);
305
306            //gotoIncident.setSelectedItem(i);
307        }
308    }
309
310    /** This method is called from within the constructor to
311     * initialize the form.
312     * WARNING: Do NOT modify this code. The content of this method is
313     * always regenerated by the Form Editor.
314     */
315    @SuppressWarnings("unchecked")
316    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
317    private void initComponents() {
318
319        incidentPopupMenu = new javax.swing.JPopupMenu();
320        popupDeleteIncident = new javax.swing.JMenuItem();
321        eventPopupMenu = new javax.swing.JPopupMenu();
322        cadEvent = new javax.swing.JMenuItem();
323        jMenuItem2 = new javax.swing.JMenuItem();
324        radioEvent = new javax.swing.JMenuItem();
325        jMenuItem4 = new javax.swing.JMenuItem();
326        jMenuItem5 = new javax.swing.JMenuItem();
327        jMenuItem6 = new javax.swing.JMenuItem();
328        cadEventFrame = new javax.swing.JFrame();
329        jLabel5 = new javax.swing.JLabel();
330        radioEventFrame = new javax.swing.JFrame();
331        radioTypeLabel = new javax.swing.JLabel();
332        jLabel7 = new javax.swing.JLabel();
333        radioTypeComboBox = new javax.swing.JComboBox();
334        radioMessageScrollPane = new javax.swing.JScrollPane();
335        radioMessage = new javax.swing.JTextArea();
336        okButton = new javax.swing.JButton();
337        cancelButton = new javax.swing.JButton();
338        eventListPopupMenu = new javax.swing.JPopupMenu();
339        editEventList = new javax.swing.JMenuItem();
340        deleteEventList = new javax.swing.JMenuItem();
341        incidentFrame = new javax.swing.JFrame();
342        jLabel6 = new javax.swing.JLabel();
343        jLabel8 = new javax.swing.JLabel();
344        jLabel9 = new javax.swing.JLabel();
345        jLabel10 = new javax.swing.JLabel();
346        jScrollPane1 = new javax.swing.JScrollPane();
347        addIncidentDescription = new javax.swing.JTextArea();
348        incidentOkButton = new javax.swing.JButton();
349        incidentCancelButton = new javax.swing.JButton();
350        addIncidentNumber = new javax.swing.JSpinner();
351        addIncidentName = new javax.swing.JTextField();
352        jLabel11 = new javax.swing.JLabel();
353        addIncidentLength = new javax.swing.JSpinner();
354        jLabel12 = new javax.swing.JLabel();
355        addIncidentStart = new javax.swing.JSpinner();
356        jButton3 = new javax.swing.JButton();
357        incidentColorField = new javax.swing.JTextField();
358        addNoiseFrame = new javax.swing.JFrame();
359        jLabel13 = new javax.swing.JLabel();
360        jSlider1 = new javax.swing.JSlider();
361        jSlider2 = new javax.swing.JSlider();
362        jLabel14 = new javax.swing.JLabel();
363        jSlider3 = new javax.swing.JSlider();
364        jLabel15 = new javax.swing.JLabel();
365        jTextArea1 = new javax.swing.JTextArea();
366        jSlider4 = new javax.swing.JSlider();
367        jLabel16 = new javax.swing.JLabel();
368        jSlider5 = new javax.swing.JSlider();
369        jLabel17 = new javax.swing.JLabel();
370        jButton1 = new javax.swing.JButton();
371        jButton2 = new javax.swing.JButton();
372        jLabel20 = new javax.swing.JLabel();
373        jLabel21 = new javax.swing.JLabel();
374        incidentColorChooser = new javax.swing.JColorChooser();
375        timelinesScrollPane = new javax.swing.JScrollPane();
376        timelineTickPanel = new scriptbuilder.gui.panels.TimelineTickPanel();
377        incidentTimelinePanel1 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
378        incidentTimelinePanel2 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
379        incidentTimelinePanel8 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
380        incidentTimelinePanel3 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
381        incidentTimelinePanel6 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
382        incidentTimelinePanel5 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
383        incidentTimelinePanel4 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
384        incidentTimelinePanel7 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
385        incidentTimelinePanel10 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
386        incidentTimelinePanel9 = new scriptbuilder.gui.panels.IncidentTimelinePanel();
387        incidentNumberPanel1 = new scriptbuilder.gui.panels.IncidentNumberPanel();
388        incidentNumberPanel2 = new scriptbuilder.gui.panels.IncidentNumberPanel();
389        incidentNumberPanel3 = new scriptbuilder.gui.panels.IncidentNumberPanel();
390        incidentNumberPanel4 = new scriptbuilder.gui.panels.IncidentNumberPanel();
391        incidentNumberPanel5 = new scriptbuilder.gui.panels.IncidentNumberPanel();
392        incidentNumberPanel6 = new scriptbuilder.gui.panels.IncidentNumberPanel();
393        incidentNumberPanel7 = new scriptbuilder.gui.panels.IncidentNumberPanel();
394        incidentNumberPanel8 = new scriptbuilder.gui.panels.IncidentNumberPanel();
395        incidentNumberPanel9 = new scriptbuilder.gui.panels.IncidentNumberPanel();
396        incidentNumberPanel10 = new scriptbuilder.gui.panels.IncidentNumberPanel();
397        scriptEventsPanel = new javax.swing.JPanel();
398        scriptEventsPane = new javax.swing.JScrollPane();
399        scriptEventsList = new javax.swing.JList();
400        zoomSlider = new javax.swing.JSlider();
401        scriptEventsPanel1 = new javax.swing.JPanel();
402        jLabel2 = new javax.swing.JLabel();
403        jLabel3 = new javax.swing.JLabel();
404        jLabel4 = new javax.swing.JLabel();
405        incidentName = new javax.swing.JTextField();
406        incidentDescriptionPane = new javax.swing.JScrollPane();
407        incidentDescription = new javax.swing.JTextArea();
408        incidentNumber = new javax.swing.JTextField();
409        selectButton = new javax.swing.JButton();
410        incidentEventsPanel = new javax.swing.JPanel();
411        maintenanceRadioButton = new javax.swing.JButton();
412        tmtRadioButton = new javax.swing.JButton();
413        telephoneButton = new javax.swing.JButton();
414        unitButton = new javax.swing.JButton();
415        witnessButton = new javax.swing.JButton();
416        paramicsButton = new javax.swing.JButton();
417        towButton = new javax.swing.JButton();
418        audioButton = new javax.swing.JButton();
419        cctvButton = new javax.swing.JButton();
420        cadButton = new javax.swing.JButton();
421        chpRadioButton = new javax.swing.JButton();
422        evaluationEventsPanel = new javax.swing.JPanel();
423        atmsEvalButton = new javax.swing.JButton();
424        cmsEvalButton = new javax.swing.JButton();
425        cadEvalButton = new javax.swing.JButton();
426        facilitatorEvalButton = new javax.swing.JButton();
427        activityLogEvalButton = new javax.swing.JButton();
428        radioEvalButton = new javax.swing.JButton();
429        zoomInIcon = new javax.swing.JLabel();
430        zoomOutIcon = new javax.swing.JLabel();
431        timeStampScrollPane = new javax.swing.JScrollPane();
432        timeStampPanel = new scriptbuilder.gui.panels.TimeStampPanel();
433        scriptBuilderMenuBar = new javax.swing.JMenuBar();
434        fileMenu = new javax.swing.JMenu();
435        fileNew = new javax.swing.JMenuItem();
436        jSeparator1 = new javax.swing.JPopupMenu.Separator();
437        fileOpen = new javax.swing.JMenuItem();
438        jSeparator2 = new javax.swing.JPopupMenu.Separator();
439        fileSave = new javax.swing.JMenuItem();
440        fileSaveAs = new javax.swing.JMenuItem();
441        generateMenu = new javax.swing.JMenu();
442        generateNotebooks = new javax.swing.JMenuItem();
443        jMenuItem3 = new javax.swing.JMenuItem();
444        generateScorecards = new javax.swing.JMenuItem();
445        generateOrganizationChart = new javax.swing.JMenuItem();
446        jSeparator3 = new javax.swing.JPopupMenu.Separator();
447        generateProjectRequirements = new javax.swing.JMenuItem();
448        incidentMenu = new javax.swing.JMenu();
449        newIncident = new javax.swing.JMenuItem();
450        editIncident = new javax.swing.JMenuItem();
451        jSeparator4 = new javax.swing.JPopupMenu.Separator();
452        saveIncident = new javax.swing.JMenuItem();
453        loadIncident = new javax.swing.JMenuItem();
454        jMenu1 = new javax.swing.JMenu();
455        jMenuItem1 = new javax.swing.JMenuItem();
456        helpMenu = new javax.swing.JMenu();
457        helpTutorial = new javax.swing.JMenuItem();
458        helpAbout = new javax.swing.JMenuItem();
459
460        popupDeleteIncident.setText("Delete Incident...");
461        incidentPopupMenu.add(popupDeleteIncident);
462
463        cadEvent.setText("CAD Event");
464        cadEvent.addMouseListener(new java.awt.event.MouseAdapter() {
465            public void mousePressed(java.awt.event.MouseEvent evt) {
466                cadEventMousePressed(evt);
467            }
468            public void mouseReleased(java.awt.event.MouseEvent evt) {
469                cadEventMouseReleased(evt);
470            }
471        });
472        eventPopupMenu.add(cadEvent);
473
474        jMenuItem2.setText("Paramics Event");
475        eventPopupMenu.add(jMenuItem2);
476
477        radioEvent.setText("Radio Event");
478        radioEvent.addMouseListener(new java.awt.event.MouseAdapter() {
479            public void mousePressed(java.awt.event.MouseEvent evt) {
480                radioEventMousePressed(evt);
481            }
482        });
483        eventPopupMenu.add(radioEvent);
484
485        jMenuItem4.setText("Telephone Event");
486        eventPopupMenu.add(jMenuItem4);
487
488        jMenuItem5.setText("Video Event");
489        eventPopupMenu.add(jMenuItem5);
490
491        jMenuItem6.setText("Evaluation Event");
492        eventPopupMenu.add(jMenuItem6);
493
494        cadEventFrame.setMinimumSize(new java.awt.Dimension(400, 300));
495
496        jLabel5.setText("CAD Entry");
497
498        javax.swing.GroupLayout cadEventFrameLayout = new javax.swing.GroupLayout(cadEventFrame.getContentPane());
499        cadEventFrame.getContentPane().setLayout(cadEventFrameLayout);
500        cadEventFrameLayout.setHorizontalGroup(
501            cadEventFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
502            .addGroup(cadEventFrameLayout.createSequentialGroup()
503                .addContainerGap()
504                .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 68, javax.swing.GroupLayout.PREFERRED_SIZE)
505                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
506        );
507        cadEventFrameLayout.setVerticalGroup(
508            cadEventFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
509            .addGroup(cadEventFrameLayout.createSequentialGroup()
510                .addContainerGap()
511                .addComponent(jLabel5)
512                .addContainerGap(1357, Short.MAX_VALUE))
513        );
514
515        radioEventFrame.setTitle("Add Radio Event");
516        radioEventFrame.setMinimumSize(new java.awt.Dimension(400, 300));
517
518        radioTypeLabel.setText("Radio Type:");
519
520        jLabel7.setText("Radio Message:");
521
522        radioTypeComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "TMT", "Maintanence" }));
523
524        radioMessageScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
525
526        radioMessage.setColumns(20);
527        radioMessage.setLineWrap(true);
528        radioMessage.setRows(5);
529        radioMessage.setWrapStyleWord(true);
530        radioMessageScrollPane.setViewportView(radioMessage);
531
532        okButton.setText("OK");
533        okButton.addActionListener(new java.awt.event.ActionListener() {
534            public void actionPerformed(java.awt.event.ActionEvent evt) {
535                okButtonActionPerformed(evt);
536            }
537        });
538
539        cancelButton.setText("Cancel");
540        cancelButton.addActionListener(new java.awt.event.ActionListener() {
541            public void actionPerformed(java.awt.event.ActionEvent evt) {
542                cancelButtonActionPerformed(evt);
543            }
544        });
545
546        javax.swing.GroupLayout radioEventFrameLayout = new javax.swing.GroupLayout(radioEventFrame.getContentPane());
547        radioEventFrame.getContentPane().setLayout(radioEventFrameLayout);
548        radioEventFrameLayout.setHorizontalGroup(
549            radioEventFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
550            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, radioEventFrameLayout.createSequentialGroup()
551                .addContainerGap()
552                .addGroup(radioEventFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
553                    .addComponent(radioMessageScrollPane, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE)
554                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, radioEventFrameLayout.createSequentialGroup()
555                        .addComponent(radioTypeLabel)
556                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
557                        .addComponent(radioTypeComboBox, 0, 312, Short.MAX_VALUE))
558                    .addComponent(jLabel7, javax.swing.GroupLayout.Alignment.LEADING)
559                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, radioEventFrameLayout.createSequentialGroup()
560                        .addComponent(cancelButton)
561                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 246, Short.MAX_VALUE)
562                        .addComponent(okButton, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)))
563                .addContainerGap())
564        );
565        radioEventFrameLayout.setVerticalGroup(
566            radioEventFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
567            .addGroup(radioEventFrameLayout.createSequentialGroup()
568                .addContainerGap()
569                .addGroup(radioEventFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
570                    .addComponent(radioTypeLabel)
571                    .addComponent(radioTypeComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
572                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
573                .addComponent(jLabel7)
574                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
575                .addComponent(radioMessageScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 198, Short.MAX_VALUE)
576                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
577                .addGroup(radioEventFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
578                    .addComponent(okButton)
579                    .addComponent(cancelButton))
580                .addContainerGap())
581        );
582
583        editEventList.setText("Edit...");
584        editEventList.addActionListener(new java.awt.event.ActionListener() {
585            public void actionPerformed(java.awt.event.ActionEvent evt) {
586                editEventListActionPerformed(evt);
587            }
588        });
589        eventListPopupMenu.add(editEventList);
590
591        deleteEventList.setText("Delete...");
592        eventListPopupMenu.add(deleteEventList);
593
594        incidentFrame.setTitle("Incident");
595        incidentFrame.setMinimumSize(new java.awt.Dimension(400, 400));
596
597        jLabel6.setText("Incident Number: ");
598
599        jLabel8.setText("Incident Name:");
600
601        jLabel9.setText("Incident Color: ");
602
603        jLabel10.setText("Incident Description:");
604
605        jScrollPane1.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
606        jScrollPane1.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
607
608        addIncidentDescription.setColumns(20);
609        addIncidentDescription.setLineWrap(true);
610        addIncidentDescription.setRows(5);
611        addIncidentDescription.setWrapStyleWord(true);
612        jScrollPane1.setViewportView(addIncidentDescription);
613
614        incidentOkButton.setText("OK");
615        incidentOkButton.addActionListener(new java.awt.event.ActionListener() {
616            public void actionPerformed(java.awt.event.ActionEvent evt) {
617                incidentOkButtonActionPerformed(evt);
618            }
619        });
620
621        incidentCancelButton.setText("Cancel");
622        incidentCancelButton.addActionListener(new java.awt.event.ActionListener() {
623            public void actionPerformed(java.awt.event.ActionEvent evt) {
624                incidentCancelButtonActionPerformed(evt);
625            }
626        });
627
628        addIncidentNumber.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(101), Integer.valueOf(101), null, Integer.valueOf(1)));
629
630        jLabel11.setText("Incident Length in Minutes: ");
631
632        addIncidentLength.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
633
634        jLabel12.setText("Incident Start Time in Minutes:");
635
636        addIncidentStart.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
637
638        jButton3.setText("Choose...");
639        jButton3.addActionListener(new java.awt.event.ActionListener() {
640            public void actionPerformed(java.awt.event.ActionEvent evt) {
641                jButton3ActionPerformed(evt);
642            }
643        });
644
645        incidentColorField.setBackground(new java.awt.Color(0, 0, 0));
646        incidentColorField.setEditable(false);
647
648        javax.swing.GroupLayout incidentFrameLayout = new javax.swing.GroupLayout(incidentFrame.getContentPane());
649        incidentFrame.getContentPane().setLayout(incidentFrameLayout);
650        incidentFrameLayout.setHorizontalGroup(
651            incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
652            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, incidentFrameLayout.createSequentialGroup()
653                .addContainerGap()
654                .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
655                    .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 322, Short.MAX_VALUE)
656                    .addComponent(jLabel10, javax.swing.GroupLayout.Alignment.LEADING)
657                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, incidentFrameLayout.createSequentialGroup()
658                        .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
659                            .addComponent(jLabel6)
660                            .addComponent(jLabel8)
661                            .addComponent(jLabel9))
662                        .addGap(18, 18, 18)
663                        .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
664                            .addComponent(addIncidentName, javax.swing.GroupLayout.DEFAULT_SIZE, 218, Short.MAX_VALUE)
665                            .addComponent(addIncidentNumber, javax.swing.GroupLayout.DEFAULT_SIZE, 218, Short.MAX_VALUE)
666                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, incidentFrameLayout.createSequentialGroup()
667                                .addComponent(incidentColorField, javax.swing.GroupLayout.DEFAULT_SIZE, 119, Short.MAX_VALUE)
668                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
669                                .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE))))
670                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, incidentFrameLayout.createSequentialGroup()
671                        .addComponent(incidentCancelButton)
672                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 188, Short.MAX_VALUE)
673                        .addComponent(incidentOkButton, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE))
674                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, incidentFrameLayout.createSequentialGroup()
675                        .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
676                            .addComponent(jLabel12)
677                            .addComponent(jLabel11))
678                        .addGap(18, 18, 18)
679                        .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
680                            .addComponent(addIncidentStart, javax.swing.GroupLayout.DEFAULT_SIZE, 158, Short.MAX_VALUE)
681                            .addComponent(addIncidentLength, javax.swing.GroupLayout.DEFAULT_SIZE, 158, Short.MAX_VALUE))))
682                .addContainerGap())
683        );
684        incidentFrameLayout.setVerticalGroup(
685            incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
686            .addGroup(incidentFrameLayout.createSequentialGroup()
687                .addContainerGap()
688                .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
689                    .addComponent(jLabel6)
690                    .addComponent(addIncidentNumber, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
691                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
692                .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
693                    .addComponent(jLabel8)
694                    .addComponent(addIncidentName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
695                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
696                .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
697                    .addComponent(jLabel9)
698                    .addComponent(jButton3)
699                    .addComponent(incidentColorField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
700                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
701                .addComponent(jLabel10)
702                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
703                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 106, Short.MAX_VALUE)
704                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
705                .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
706                    .addComponent(addIncidentStart, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
707                    .addComponent(jLabel12))
708                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
709                .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
710                    .addComponent(addIncidentLength, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
711                    .addComponent(jLabel11))
712                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
713                .addGroup(incidentFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
714                    .addComponent(incidentCancelButton)
715                    .addComponent(incidentOkButton))
716                .addContainerGap())
717        );
718
719        addNoiseFrame.setTitle("Generate Noise");
720        addNoiseFrame.setMinimumSize(new java.awt.Dimension(395, 315));
721        addNoiseFrame.setResizable(false);
722
723        jLabel13.setFont(new java.awt.Font("Tahoma", 0, 12));
724        jLabel13.setText("Radio Chatter: ");
725
726        jLabel14.setFont(new java.awt.Font("Tahoma", 0, 12));
727        jLabel14.setText("Lane Closures:");
728
729        jLabel15.setFont(new java.awt.Font("Tahoma", 0, 12));
730        jLabel15.setText("TMCAL Logs:");
731
732        jTextArea1.setColumns(20);
733        jTextArea1.setEditable(false);
734        jTextArea1.setFont(new java.awt.Font("Tahoma", 0, 12));
735        jTextArea1.setLineWrap(true);
736        jTextArea1.setRows(5);
737        jTextArea1.setText("Noise events will be randomly generated for the simulation with frequencies based on the control selections made below");
738        jTextArea1.setWrapStyleWord(true);
739        jTextArea1.setAutoscrolls(false);
740        jTextArea1.setBorder(null);
741        jTextArea1.setDisabledTextColor(new java.awt.Color(0, 0, 0));
742        jTextArea1.setFocusable(false);
743        jTextArea1.setOpaque(false);
744
745        jLabel16.setFont(new java.awt.Font("Tahoma", 0, 12));
746        jLabel16.setText("Background Noise: ");
747
748        jLabel17.setFont(new java.awt.Font("Tahoma", 0, 12));
749        jLabel17.setText("Minor Events:");
750
751        jButton1.setText("Cancel");
752        jButton1.addActionListener(new java.awt.event.ActionListener() {
753            public void actionPerformed(java.awt.event.ActionEvent evt) {
754                jButton1ActionPerformed(evt);
755            }
756        });
757
758        jButton2.setText("Generate");
759        jButton2.addActionListener(new java.awt.event.ActionListener() {
760            public void actionPerformed(java.awt.event.ActionEvent evt) {
761                jButton2ActionPerformed(evt);
762            }
763        });
764
765        jLabel20.setText("Least Frequent");
766
767        jLabel21.setText("Most Frequent");
768
769        javax.swing.GroupLayout addNoiseFrameLayout = new javax.swing.GroupLayout(addNoiseFrame.getContentPane());
770        addNoiseFrame.getContentPane().setLayout(addNoiseFrameLayout);
771        addNoiseFrameLayout.setHorizontalGroup(
772            addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
773            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, addNoiseFrameLayout.createSequentialGroup()
774                .addContainerGap(21, Short.MAX_VALUE)
775                .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
776                    .addComponent(jTextArea1, javax.swing.GroupLayout.Alignment.LEADING)
777                    .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
778                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, addNoiseFrameLayout.createSequentialGroup()
779                            .addComponent(jButton1)
780                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
781                            .addComponent(jButton2))
782                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, addNoiseFrameLayout.createSequentialGroup()
783                            .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
784                                .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
785                                    .addComponent(jLabel16)
786                                    .addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
787                                    .addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
788                                    .addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE))
789                                .addComponent(jLabel17, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE))
790                            .addGap(4, 4, 4)
791                            .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
792                                .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, 245, javax.swing.GroupLayout.PREFERRED_SIZE)
793                                .addComponent(jSlider2, javax.swing.GroupLayout.PREFERRED_SIZE, 245, javax.swing.GroupLayout.PREFERRED_SIZE)
794                                .addComponent(jSlider3, javax.swing.GroupLayout.PREFERRED_SIZE, 245, javax.swing.GroupLayout.PREFERRED_SIZE)
795                                .addComponent(jSlider5, javax.swing.GroupLayout.PREFERRED_SIZE, 245, javax.swing.GroupLayout.PREFERRED_SIZE)
796                                .addComponent(jSlider4, javax.swing.GroupLayout.PREFERRED_SIZE, 245, javax.swing.GroupLayout.PREFERRED_SIZE)
797                                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, addNoiseFrameLayout.createSequentialGroup()
798                                    .addComponent(jLabel20)
799                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
800                                    .addComponent(jLabel21))))))
801                .addGap(20, 20, 20))
802        );
803        addNoiseFrameLayout.setVerticalGroup(
804            addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
805            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, addNoiseFrameLayout.createSequentialGroup()
806                .addContainerGap()
807                .addComponent(jTextArea1, javax.swing.GroupLayout.DEFAULT_SIZE, 39, Short.MAX_VALUE)
808                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
809                .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
810                    .addComponent(jLabel21)
811                    .addComponent(jLabel20))
812                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
813                .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
814                    .addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
815                    .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
816                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
817                .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
818                    .addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE)
819                    .addComponent(jSlider2, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE))
820                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
821                .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
822                    .addComponent(jLabel15)
823                    .addComponent(jSlider3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
824                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
825                .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
826                    .addComponent(jSlider4, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
827                    .addComponent(jLabel16, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))
828                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
829                .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
830                    .addComponent(jSlider5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
831                    .addComponent(jLabel17))
832                .addGap(18, 18, 18)
833                .addGroup(addNoiseFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
834                    .addComponent(jButton1)
835                    .addComponent(jButton2))
836                .addContainerGap())
837        );
838
839        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
840        setTitle("Script Builder");
841        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
842        setMinimumSize(new java.awt.Dimension(800, 800));
843
844        timelinesScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
845        timelinesScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
846        timelinesScrollPane.setFocusCycleRoot(true);
847        timelinesScrollPane.setFocusTraversalPolicyProvider(true);
848        timelinesScrollPane.setPreferredSize(new java.awt.Dimension(72000, 1341));
849
850        timelineTickPanel.setMaximumSize(new java.awt.Dimension(7200, 32767));
851        timelineTickPanel.setMinimumSize(new java.awt.Dimension(7200, 0));
852        timelineTickPanel.setPreferredSize(new java.awt.Dimension(7200, 1317));
853
854        incidentTimelinePanel1.setMaximumSize(new java.awt.Dimension(32767, 100));
855        incidentTimelinePanel1.setOpaque(false);
856        incidentTimelinePanel1.setPreferredSize(new java.awt.Dimension(691, 100));
857
858        javax.swing.GroupLayout incidentTimelinePanel1Layout = new javax.swing.GroupLayout(incidentTimelinePanel1);
859        incidentTimelinePanel1.setLayout(incidentTimelinePanel1Layout);
860        incidentTimelinePanel1Layout.setHorizontalGroup(
861            incidentTimelinePanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
862            .addGap(0, 6778, Short.MAX_VALUE)
863        );
864        incidentTimelinePanel1Layout.setVerticalGroup(
865            incidentTimelinePanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
866            .addGap(0, 100, Short.MAX_VALUE)
867        );
868
869        incidentTimelinePanel2.setOpaque(false);
870
871        javax.swing.GroupLayout incidentTimelinePanel2Layout = new javax.swing.GroupLayout(incidentTimelinePanel2);
872        incidentTimelinePanel2.setLayout(incidentTimelinePanel2Layout);
873        incidentTimelinePanel2Layout.setHorizontalGroup(
874            incidentTimelinePanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
875            .addGap(0, 6726, Short.MAX_VALUE)
876        );
877        incidentTimelinePanel2Layout.setVerticalGroup(
878            incidentTimelinePanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
879            .addGap(0, 100, Short.MAX_VALUE)
880        );
881
882        incidentTimelinePanel8.setOpaque(false);
883
884        javax.swing.GroupLayout incidentTimelinePanel8Layout = new javax.swing.GroupLayout(incidentTimelinePanel8);
885        incidentTimelinePanel8.setLayout(incidentTimelinePanel8Layout);
886        incidentTimelinePanel8Layout.setHorizontalGroup(
887            incidentTimelinePanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
888            .addGap(0, 5686, Short.MAX_VALUE)
889        );
890        incidentTimelinePanel8Layout.setVerticalGroup(
891            incidentTimelinePanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
892            .addGap(0, 100, Short.MAX_VALUE)
893        );
894
895        incidentTimelinePanel3.setOpaque(false);
896
897        javax.swing.GroupLayout incidentTimelinePanel3Layout = new javax.swing.GroupLayout(incidentTimelinePanel3);
898        incidentTimelinePanel3.setLayout(incidentTimelinePanel3Layout);
899        incidentTimelinePanel3Layout.setHorizontalGroup(
900            incidentTimelinePanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
901            .addGap(0, 605, Short.MAX_VALUE)
902        );
903        incidentTimelinePanel3Layout.setVerticalGroup(
904            incidentTimelinePanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
905            .addGap(0, 100, Short.MAX_VALUE)
906        );
907
908        incidentTimelinePanel6.setOpaque(false);
909
910        javax.swing.GroupLayout incidentTimelinePanel6Layout = new javax.swing.GroupLayout(incidentTimelinePanel6);
911        incidentTimelinePanel6.setLayout(incidentTimelinePanel6Layout);
912        incidentTimelinePanel6Layout.setHorizontalGroup(
913            incidentTimelinePanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
914            .addGap(0, 605, Short.MAX_VALUE)
915        );
916        incidentTimelinePanel6Layout.setVerticalGroup(
917            incidentTimelinePanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
918            .addGap(0, 100, Short.MAX_VALUE)
919        );
920
921        incidentTimelinePanel5.setOpaque(false);
922
923        javax.swing.GroupLayout incidentTimelinePanel5Layout = new javax.swing.GroupLayout(incidentTimelinePanel5);
924        incidentTimelinePanel5.setLayout(incidentTimelinePanel5Layout);
925        incidentTimelinePanel5Layout.setHorizontalGroup(
926            incidentTimelinePanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
927            .addGap(0, 617, Short.MAX_VALUE)
928        );
929        incidentTimelinePanel5Layout.setVerticalGroup(
930            incidentTimelinePanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
931            .addGap(0, 100, Short.MAX_VALUE)
932        );
933
934        incidentTimelinePanel4.setOpaque(false);
935
936        javax.swing.GroupLayout incidentTimelinePanel4Layout = new javax.swing.GroupLayout(incidentTimelinePanel4);
937        incidentTimelinePanel4.setLayout(incidentTimelinePanel4Layout);
938        incidentTimelinePanel4Layout.setHorizontalGroup(
939            incidentTimelinePanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
940            .addGap(0, 617, Short.MAX_VALUE)
941        );
942        incidentTimelinePanel4Layout.setVerticalGroup(
943            incidentTimelinePanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
944            .addGap(0, 100, Short.MAX_VALUE)
945        );
946
947        incidentTimelinePanel7.setOpaque(false);
948
949        javax.swing.GroupLayout incidentTimelinePanel7Layout = new javax.swing.GroupLayout(incidentTimelinePanel7);
950        incidentTimelinePanel7.setLayout(incidentTimelinePanel7Layout);
951        incidentTimelinePanel7Layout.setHorizontalGroup(
952            incidentTimelinePanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
953            .addGap(0, 6884, Short.MAX_VALUE)
954        );
955        incidentTimelinePanel7Layout.setVerticalGroup(
956            incidentTimelinePanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
957            .addGap(0, 100, Short.MAX_VALUE)
958        );
959
960        incidentTimelinePanel10.setOpaque(false);
961
962        javax.swing.GroupLayout incidentTimelinePanel10Layout = new javax.swing.GroupLayout(incidentTimelinePanel10);
963        incidentTimelinePanel10.setLayout(incidentTimelinePanel10Layout);
964        incidentTimelinePanel10Layout.setHorizontalGroup(
965            incidentTimelinePanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
966            .addGap(0, 6573, Short.MAX_VALUE)
967        );
968        incidentTimelinePanel10Layout.setVerticalGroup(
969            incidentTimelinePanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
970            .addGap(0, 100, Short.MAX_VALUE)
971        );
972
973        incidentTimelinePanel9.setOpaque(false);
974
975        javax.swing.GroupLayout incidentTimelinePanel9Layout = new javax.swing.GroupLayout(incidentTimelinePanel9);
976        incidentTimelinePanel9.setLayout(incidentTimelinePanel9Layout);
977        incidentTimelinePanel9Layout.setHorizontalGroup(
978            incidentTimelinePanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
979            .addGap(0, 6470, Short.MAX_VALUE)
980        );
981        incidentTimelinePanel9Layout.setVerticalGroup(
982            incidentTimelinePanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
983            .addGap(0, 100, Short.MAX_VALUE)
984        );
985
986        incidentNumberPanel1.setOpaque(false);
987
988        javax.swing.GroupLayout incidentNumberPanel1Layout = new javax.swing.GroupLayout(incidentNumberPanel1);
989        incidentNumberPanel1.setLayout(incidentNumberPanel1Layout);
990        incidentNumberPanel1Layout.setHorizontalGroup(
991            incidentNumberPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
992            .addGap(0, 106, Short.MAX_VALUE)
993        );
994        incidentNumberPanel1Layout.setVerticalGroup(
995            incidentNumberPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
996            .addGap(0, 100, Short.MAX_VALUE)
997        );
998
999        incidentNumberPanel2.setOpaque(false);
1000
1001        javax.swing.GroupLayout incidentNumberPanel2Layout = new javax.swing.GroupLayout(incidentNumberPanel2);
1002        incidentNumberPanel2.setLayout(incidentNumberPanel2Layout);
1003        incidentNumberPanel2Layout.setHorizontalGroup(
1004            incidentNumberPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1005            .addGap(0, 100, Short.MAX_VALUE)
1006        );
1007        incidentNumberPanel2Layout.setVerticalGroup(
1008            incidentNumberPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1009            .addGap(0, 100, Short.MAX_VALUE)
1010        );
1011
1012        incidentNumberPanel3.setOpaque(false);
1013
1014        javax.swing.GroupLayout incidentNumberPanel3Layout = new javax.swing.GroupLayout(incidentNumberPanel3);
1015        incidentNumberPanel3.setLayout(incidentNumberPanel3Layout);
1016        incidentNumberPanel3Layout.setHorizontalGroup(
1017            incidentNumberPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1018            .addGap(0, 100, Short.MAX_VALUE)
1019        );
1020        incidentNumberPanel3Layout.setVerticalGroup(
1021            incidentNumberPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1022            .addGap(0, 100, Short.MAX_VALUE)
1023        );
1024
1025        incidentNumberPanel4.setOpaque(false);
1026
1027        javax.swing.GroupLayout incidentNumberPanel4Layout = new javax.swing.GroupLayout(incidentNumberPanel4);
1028        incidentNumberPanel4.setLayout(incidentNumberPanel4Layout);
1029        incidentNumberPanel4Layout.setHorizontalGroup(
1030            incidentNumberPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1031            .addGap(0, 100, Short.MAX_VALUE)
1032        );
1033        incidentNumberPanel4Layout.setVerticalGroup(
1034            incidentNumberPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1035            .addGap(0, 100, Short.MAX_VALUE)
1036        );
1037
1038        incidentNumberPanel5.setOpaque(false);
1039
1040        javax.swing.GroupLayout incidentNumberPanel5Layout = new javax.swing.GroupLayout(incidentNumberPanel5);
1041        incidentNumberPanel5.setLayout(incidentNumberPanel5Layout);
1042        incidentNumberPanel5Layout.setHorizontalGroup(
1043            incidentNumberPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1044            .addGap(0, 100, Short.MAX_VALUE)
1045        );
1046        incidentNumberPanel5Layout.setVerticalGroup(
1047            incidentNumberPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1048            .addGap(0, 100, Short.MAX_VALUE)
1049        );
1050
1051        incidentNumberPanel6.setOpaque(false);
1052
1053        javax.swing.GroupLayout incidentNumberPanel6Layout = new javax.swing.GroupLayout(incidentNumberPanel6);
1054        incidentNumberPanel6.setLayout(incidentNumberPanel6Layout);
1055        incidentNumberPanel6Layout.setHorizontalGroup(
1056            incidentNumberPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1057            .addGap(0, 100, Short.MAX_VALUE)
1058        );
1059        incidentNumberPanel6Layout.setVerticalGroup(
1060            incidentNumberPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1061            .addGap(0, 100, Short.MAX_VALUE)
1062        );
1063
1064        incidentNumberPanel7.setOpaque(false);
1065
1066        javax.swing.GroupLayout incidentNumberPanel7Layout = new javax.swing.GroupLayout(incidentNumberPanel7);
1067        incidentNumberPanel7.setLayout(incidentNumberPanel7Layout);
1068        incidentNumberPanel7Layout.setHorizontalGroup(
1069            incidentNumberPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1070            .addGap(0, 100, Short.MAX_VALUE)
1071        );
1072        incidentNumberPanel7Layout.setVerticalGroup(
1073            incidentNumberPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1074            .addGap(0, 100, Short.MAX_VALUE)
1075        );
1076
1077        incidentNumberPanel8.setOpaque(false);
1078
1079        javax.swing.GroupLayout incidentNumberPanel8Layout = new javax.swing.GroupLayout(incidentNumberPanel8);
1080        incidentNumberPanel8.setLayout(incidentNumberPanel8Layout);
1081        incidentNumberPanel8Layout.setHorizontalGroup(
1082            incidentNumberPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1083            .addGap(0, 100, Short.MAX_VALUE)
1084        );
1085        incidentNumberPanel8Layout.setVerticalGroup(
1086            incidentNumberPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1087            .addGap(0, 100, Short.MAX_VALUE)
1088        );
1089
1090        incidentNumberPanel9.setOpaque(false);
1091
1092        javax.swing.GroupLayout incidentNumberPanel9Layout = new javax.swing.GroupLayout(incidentNumberPanel9);
1093        incidentNumberPanel9.setLayout(incidentNumberPanel9Layout);
1094        incidentNumberPanel9Layout.setHorizontalGroup(
1095            incidentNumberPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1096            .addGap(0, 100, Short.MAX_VALUE)
1097        );
1098        incidentNumberPanel9Layout.setVerticalGroup(
1099            incidentNumberPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1100            .addGap(0, 100, Short.MAX_VALUE)
1101        );
1102
1103        incidentNumberPanel10.setOpaque(false);
1104
1105        javax.swing.GroupLayout incidentNumberPanel10Layout = new javax.swing.GroupLayout(incidentNumberPanel10);
1106        incidentNumberPanel10.setLayout(incidentNumberPanel10Layout);
1107        incidentNumberPanel10Layout.setHorizontalGroup(
1108            incidentNumberPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1109            .addGap(0, 100, Short.MAX_VALUE)
1110        );
1111        incidentNumberPanel10Layout.setVerticalGroup(
1112            incidentNumberPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1113            .addGap(0, 100, Short.MAX_VALUE)
1114        );
1115
1116        javax.swing.GroupLayout timelineTickPanelLayout = new javax.swing.GroupLayout(timelineTickPanel);
1117        timelineTickPanel.setLayout(timelineTickPanelLayout);
1118        timelineTickPanelLayout.setHorizontalGroup(
1119            timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1120            .addGroup(timelineTickPanelLayout.createSequentialGroup()
1121                .addContainerGap()
1122                .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
1123                    .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1124                        .addComponent(incidentNumberPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1125                        .addComponent(incidentNumberPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1126                    .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1127                        .addComponent(incidentNumberPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1128                        .addComponent(incidentNumberPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1129                        .addComponent(incidentNumberPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1130                        .addComponent(incidentNumberPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1131                        .addComponent(incidentNumberPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1132                        .addComponent(incidentNumberPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1133                        .addComponent(incidentNumberPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1134                    .addComponent(incidentNumberPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1135                .addGap(10, 10, 10)
1136                .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1137                    .addComponent(incidentTimelinePanel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
1138                    .addComponent(incidentTimelinePanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1139                    .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
1140                        .addComponent(incidentTimelinePanel5, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
1141                        .addComponent(incidentTimelinePanel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1142                    .addComponent(incidentTimelinePanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1143                    .addComponent(incidentTimelinePanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 6778, javax.swing.GroupLayout.PREFERRED_SIZE)
1144                    .addComponent(incidentTimelinePanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1145                    .addComponent(incidentTimelinePanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1146                    .addComponent(incidentTimelinePanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1147                    .addComponent(incidentTimelinePanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1148                .addGap(190, 190, 190))
1149        );
1150        timelineTickPanelLayout.setVerticalGroup(
1151            timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1152            .addGroup(timelineTickPanelLayout.createSequentialGroup()
1153                .addContainerGap()
1154                .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1155                    .addComponent(incidentNumberPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1156                    .addComponent(incidentTimelinePanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1157                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1158                .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1159                    .addGroup(timelineTickPanelLayout.createSequentialGroup()
1160                        .addComponent(incidentNumberPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1161                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1162                        .addComponent(incidentNumberPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1163                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1164                        .addComponent(incidentNumberPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1165                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1166                        .addComponent(incidentNumberPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1167                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1168                        .addComponent(incidentNumberPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1169                    .addGroup(timelineTickPanelLayout.createSequentialGroup()
1170                        .addComponent(incidentTimelinePanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1171                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1172                        .addComponent(incidentTimelinePanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1173                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1174                        .addComponent(incidentTimelinePanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1175                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1176                        .addComponent(incidentTimelinePanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1177                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1178                        .addComponent(incidentTimelinePanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
1179                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1180                .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1181                    .addComponent(incidentTimelinePanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1182                    .addComponent(incidentNumberPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1183                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1184                .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1185                    .addGroup(timelineTickPanelLayout.createSequentialGroup()
1186                        .addComponent(incidentTimelinePanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1187                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1188                        .addComponent(incidentTimelinePanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1189                    .addGroup(timelineTickPanelLayout.createSequentialGroup()
1190                        .addComponent(incidentNumberPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1191                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1192                        .addComponent(incidentNumberPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
1193                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1194                .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1195                    .addComponent(incidentNumberPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1196                    .addComponent(incidentTimelinePanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1197                .addContainerGap(252, Short.MAX_VALUE))
1198        );
1199
1200        timelinesScrollPane.setViewportView(timelineTickPanel);
1201
1202        scriptEventsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Script Events"));
1203
1204        scriptEventsPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
1205
1206        scriptEventsList.setModel(new DefaultListModel());
1207        scriptEventsList.setComponentPopupMenu(eventListPopupMenu);
1208        scriptEventsPane.setViewportView(scriptEventsList);
1209
1210        javax.swing.GroupLayout scriptEventsPanelLayout = new javax.swing.GroupLayout(scriptEventsPanel);
1211        scriptEventsPanel.setLayout(scriptEventsPanelLayout);
1212        scriptEventsPanelLayout.setHorizontalGroup(
1213            scriptEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1214            .addGroup(scriptEventsPanelLayout.createSequentialGroup()
1215                .addContainerGap()
1216                .addComponent(scriptEventsPane, javax.swing.GroupLayout.DEFAULT_SIZE, 485, Short.MAX_VALUE)
1217                .addContainerGap())
1218        );
1219        scriptEventsPanelLayout.setVerticalGroup(
1220            scriptEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1221            .addGroup(scriptEventsPanelLayout.createSequentialGroup()
1222                .addComponent(scriptEventsPane, javax.swing.GroupLayout.DEFAULT_SIZE, 197, Short.MAX_VALUE)
1223                .addContainerGap())
1224        );
1225
1226        zoomSlider.setMaximum(21);
1227        zoomSlider.setMinimum(5);
1228        zoomSlider.setOrientation(javax.swing.JSlider.VERTICAL);
1229        zoomSlider.setValue(13);
1230        zoomSlider.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
1231        zoomSlider.setFocusable(false);
1232        zoomSlider.addChangeListener(new javax.swing.event.ChangeListener() {
1233            public void stateChanged(javax.swing.event.ChangeEvent evt) {
1234                zoomSliderStateChanged(evt);
1235            }
1236        });
1237
1238        scriptEventsPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Incident Information"));
1239
1240        jLabel2.setText("Incident Number:");
1241
1242        jLabel3.setText("Incident Name:");
1243
1244        jLabel4.setText("Incident Description:");
1245
1246        incidentName.setEditable(false);
1247        incidentName.setText("Media");
1248
1249        incidentDescriptionPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
1250
1251        incidentDescription.setColumns(20);
1252        incidentDescription.setEditable(false);
1253        incidentDescription.setLineWrap(true);
1254        incidentDescription.setRows(5);
1255        incidentDescription.setText("All media message events are found in this incident.");
1256        incidentDescription.setWrapStyleWord(true);
1257        incidentDescriptionPane.setViewportView(incidentDescription);
1258
1259        incidentNumber.setEditable(false);
1260        incidentNumber.setText("100");
1261
1262        javax.swing.GroupLayout scriptEventsPanel1Layout = new javax.swing.GroupLayout(scriptEventsPanel1);
1263        scriptEventsPanel1.setLayout(scriptEventsPanel1Layout);
1264        scriptEventsPanel1Layout.setHorizontalGroup(
1265            scriptEventsPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1266            .addGroup(scriptEventsPanel1Layout.createSequentialGroup()
1267                .addContainerGap()
1268                .addGroup(scriptEventsPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1269                    .addComponent(incidentDescriptionPane, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 453, Short.MAX_VALUE)
1270                    .addComponent(jLabel4)
1271                    .addGroup(scriptEventsPanel1Layout.createSequentialGroup()
1272                        .addGroup(scriptEventsPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1273                            .addComponent(jLabel2)
1274                            .addComponent(jLabel3))
1275                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1276                        .addGroup(scriptEventsPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
1277                            .addComponent(incidentName, javax.swing.GroupLayout.DEFAULT_SIZE, 366, Short.MAX_VALUE)
1278                            .addComponent(incidentNumber, javax.swing.GroupLayout.DEFAULT_SIZE, 366, Short.MAX_VALUE))))
1279                .addContainerGap())
1280        );
1281        scriptEventsPanel1Layout.setVerticalGroup(
1282            scriptEventsPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1283            .addGroup(scriptEventsPanel1Layout.createSequentialGroup()
1284                .addGroup(scriptEventsPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1285                    .addComponent(jLabel2)
1286                    .addComponent(incidentNumber, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1287                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1288                .addGroup(scriptEventsPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1289                    .addComponent(incidentName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1290                    .addComponent(jLabel3))
1291                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1292                .addComponent(jLabel4)
1293                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1294                .addComponent(incidentDescriptionPane, javax.swing.GroupLayout.DEFAULT_SIZE, 125, Short.MAX_VALUE)
1295                .addContainerGap())
1296        );
1297
1298        selectButton.setToolTipText("Select");
1299        selectButton.setFocusPainted(false);
1300        selectButton.setIconTextGap(0);
1301        selectButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1302        selectButton.setPreferredSize(new java.awt.Dimension(30, 25));
1303        selectButton.addActionListener(new java.awt.event.ActionListener() {
1304            public void actionPerformed(java.awt.event.ActionEvent evt) {
1305                selectButtonActionPerformed(evt);
1306            }
1307        });
1308
1309        incidentEventsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Incident Events"));
1310
1311        maintenanceRadioButton.setText("Maintenance Radio");
1312        maintenanceRadioButton.setToolTipText("");
1313        maintenanceRadioButton.setFocusPainted(false);
1314        maintenanceRadioButton.setIconTextGap(0);
1315        maintenanceRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1316        maintenanceRadioButton.setPreferredSize(new java.awt.Dimension(30, 25));
1317        maintenanceRadioButton.addActionListener(new java.awt.event.ActionListener() {
1318            public void actionPerformed(java.awt.event.ActionEvent evt) {
1319                maintenanceRadioButtonActionPerformed(evt);
1320            }
1321        });
1322
1323        tmtRadioButton.setText("TMT Radio");
1324        tmtRadioButton.setToolTipText("");
1325        tmtRadioButton.setFocusPainted(false);
1326        tmtRadioButton.setIconTextGap(0);
1327        tmtRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1328        tmtRadioButton.setPreferredSize(new java.awt.Dimension(30, 25));
1329        tmtRadioButton.addActionListener(new java.awt.event.ActionListener() {
1330            public void actionPerformed(java.awt.event.ActionEvent evt) {
1331                tmtRadioButtonActionPerformed(evt);
1332            }
1333        });
1334
1335        telephoneButton.setText("Telephone");
1336        telephoneButton.setToolTipText("");
1337        telephoneButton.setFocusPainted(false);
1338        telephoneButton.setIconTextGap(0);
1339        telephoneButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1340        telephoneButton.setPreferredSize(new java.awt.Dimension(30, 25));
1341        telephoneButton.addActionListener(new java.awt.event.ActionListener() {
1342            public void actionPerformed(java.awt.event.ActionEvent evt) {
1343                telephoneButtonActionPerformed(evt);
1344            }
1345        });
1346
1347        unitButton.setText("Unit");
1348        unitButton.setToolTipText("");
1349        unitButton.setFocusPainted(false);
1350        unitButton.setIconTextGap(0);
1351        unitButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1352        unitButton.setPreferredSize(new java.awt.Dimension(30, 25));
1353        unitButton.addActionListener(new java.awt.event.ActionListener() {
1354            public void actionPerformed(java.awt.event.ActionEvent evt) {
1355                unitButtonActionPerformed(evt);
1356            }
1357        });
1358
1359        witnessButton.setText("Witness");
1360        witnessButton.setToolTipText("");
1361        witnessButton.setFocusPainted(false);
1362        witnessButton.setIconTextGap(0);
1363        witnessButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1364        witnessButton.setPreferredSize(new java.awt.Dimension(30, 25));
1365        witnessButton.addActionListener(new java.awt.event.ActionListener() {
1366            public void actionPerformed(java.awt.event.ActionEvent evt) {
1367                witnessButtonActionPerformed(evt);
1368            }
1369        });
1370
1371        paramicsButton.setText("Paramics");
1372        paramicsButton.setToolTipText("");
1373        paramicsButton.setFocusPainted(false);
1374        paramicsButton.setIconTextGap(0);
1375        paramicsButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1376        paramicsButton.setPreferredSize(new java.awt.Dimension(30, 25));
1377        paramicsButton.addActionListener(new java.awt.event.ActionListener() {
1378            public void actionPerformed(java.awt.event.ActionEvent evt) {
1379                paramicsButtonActionPerformed(evt);
1380            }
1381        });
1382
1383        towButton.setText("Tow");
1384        towButton.setToolTipText("");
1385        towButton.setFocusPainted(false);
1386        towButton.setIconTextGap(0);
1387        towButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1388        towButton.setPreferredSize(new java.awt.Dimension(30, 25));
1389        towButton.addActionListener(new java.awt.event.ActionListener() {
1390            public void actionPerformed(java.awt.event.ActionEvent evt) {
1391                towButtonActionPerformed(evt);
1392            }
1393        });
1394
1395        audioButton.setText("Audio");
1396        audioButton.setToolTipText("");
1397        audioButton.setFocusPainted(false);
1398        audioButton.setIconTextGap(0);
1399        audioButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1400        audioButton.setPreferredSize(new java.awt.Dimension(30, 25));
1401        audioButton.addActionListener(new java.awt.event.ActionListener() {
1402            public void actionPerformed(java.awt.event.ActionEvent evt) {
1403                audioButtonActionPerformed(evt);
1404            }
1405        });
1406
1407        cctvButton.setText("CCTV");
1408        cctvButton.setToolTipText("");
1409        cctvButton.setFocusPainted(false);
1410        cctvButton.setIconTextGap(0);
1411        cctvButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1412        cctvButton.setPreferredSize(new java.awt.Dimension(30, 25));
1413        cctvButton.addActionListener(new java.awt.event.ActionListener() {
1414            public void actionPerformed(java.awt.event.ActionEvent evt) {
1415                cctvButtonActionPerformed(evt);
1416            }
1417        });
1418
1419        cadButton.setText("CAD");
1420        cadButton.setToolTipText("");
1421        cadButton.setFocusPainted(false);
1422        cadButton.setIconTextGap(0);
1423        cadButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1424        cadButton.setPreferredSize(new java.awt.Dimension(30, 25));
1425        cadButton.addActionListener(new java.awt.event.ActionListener() {
1426            public void actionPerformed(java.awt.event.ActionEvent evt) {
1427                cadButtonActionPerformed(evt);
1428            }
1429        });
1430
1431        chpRadioButton.setText("CHP Radio");
1432        chpRadioButton.setToolTipText("");
1433        chpRadioButton.setFocusPainted(false);
1434        chpRadioButton.setIconTextGap(0);
1435        chpRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1436        chpRadioButton.setPreferredSize(new java.awt.Dimension(30, 25));
1437        chpRadioButton.addActionListener(new java.awt.event.ActionListener() {
1438            public void actionPerformed(java.awt.event.ActionEvent evt) {
1439                chpRadioButtonActionPerformed(evt);
1440            }
1441        });
1442
1443        javax.swing.GroupLayout incidentEventsPanelLayout = new javax.swing.GroupLayout(incidentEventsPanel);
1444        incidentEventsPanel.setLayout(incidentEventsPanelLayout);
1445        incidentEventsPanelLayout.setHorizontalGroup(
1446            incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1447            .addGroup(incidentEventsPanelLayout.createSequentialGroup()
1448                .addContainerGap()
1449                .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1450                    .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1451                        .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, incidentEventsPanelLayout.createSequentialGroup()
1452                            .addComponent(maintenanceRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
1453                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1454                            .addComponent(tmtRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
1455                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1456                            .addComponent(telephoneButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
1457                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1458                            .addComponent(paramicsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))
1459                        .addGroup(incidentEventsPanelLayout.createSequentialGroup()
1460                            .addComponent(towButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
1461                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1462                            .addComponent(unitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
1463                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1464                            .addComponent(witnessButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
1465                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1466                            .addComponent(audioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)))
1467                    .addGroup(incidentEventsPanelLayout.createSequentialGroup()
1468                        .addComponent(cadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
1469                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1470                        .addComponent(cctvButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
1471                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1472                        .addComponent(chpRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)))
1473                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
1474        );
1475        incidentEventsPanelLayout.setVerticalGroup(
1476            incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1477            .addGroup(incidentEventsPanelLayout.createSequentialGroup()
1478                .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1479                    .addGroup(incidentEventsPanelLayout.createSequentialGroup()
1480                        .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1481                            .addComponent(maintenanceRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
1482                            .addComponent(tmtRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
1483                            .addComponent(telephoneButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
1484                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1485                        .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1486                            .addComponent(towButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
1487                            .addComponent(unitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
1488                            .addComponent(witnessButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
1489                            .addComponent(audioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)))
1490                    .addComponent(paramicsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
1491                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1492                .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
1493                    .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1494                        .addComponent(cctvButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
1495                        .addComponent(chpRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
1496                    .addComponent(cadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)))
1497        );
1498
1499        evaluationEventsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Evaluation Events"));
1500
1501        atmsEvalButton.setText("ATMS Evaluation");
1502        atmsEvalButton.setToolTipText("");
1503        atmsEvalButton.setFocusPainted(false);
1504        atmsEvalButton.setIconTextGap(0);
1505        atmsEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1506        atmsEvalButton.setPreferredSize(new java.awt.Dimension(30, 25));
1507        atmsEvalButton.addActionListener(new java.awt.event.ActionListener() {
1508            public void actionPerformed(java.awt.event.ActionEvent evt) {
1509                atmsEvalButtonActionPerformed(evt);
1510            }
1511        });
1512
1513        cmsEvalButton.setText("CMS Evaluation");
1514        cmsEvalButton.setToolTipText("");
1515        cmsEvalButton.setFocusPainted(false);
1516        cmsEvalButton.setIconTextGap(0);
1517        cmsEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1518        cmsEvalButton.setPreferredSize(new java.awt.Dimension(30, 25));
1519        cmsEvalButton.addActionListener(new java.awt.event.ActionListener() {
1520            public void actionPerformed(java.awt.event.ActionEvent evt) {
1521                cmsEvalButtonActionPerformed(evt);
1522            }
1523        });
1524
1525        cadEvalButton.setText("CAD Evaluation");
1526        cadEvalButton.setToolTipText("");
1527        cadEvalButton.setFocusPainted(false);
1528        cadEvalButton.setIconTextGap(0);
1529        cadEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1530        cadEvalButton.setPreferredSize(new java.awt.Dimension(30, 25));
1531        cadEvalButton.addActionListener(new java.awt.event.ActionListener() {
1532            public void actionPerformed(java.awt.event.ActionEvent evt) {
1533                cadEvalButtonActionPerformed(evt);
1534            }
1535        });
1536
1537        facilitatorEvalButton.setText("Facilitator Evaluation");
1538        facilitatorEvalButton.setToolTipText("");
1539        facilitatorEvalButton.setFocusPainted(false);
1540        facilitatorEvalButton.setIconTextGap(0);
1541        facilitatorEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1542        facilitatorEvalButton.setPreferredSize(new java.awt.Dimension(30, 25));
1543        facilitatorEvalButton.addActionListener(new java.awt.event.ActionListener() {
1544            public void actionPerformed(java.awt.event.ActionEvent evt) {
1545                facilitatorEvalButtonActionPerformed(evt);
1546            }
1547        });
1548
1549        activityLogEvalButton.setText("Activity Log Evaluation");
1550        activityLogEvalButton.setToolTipText("");
1551        activityLogEvalButton.setFocusPainted(false);
1552        activityLogEvalButton.setIconTextGap(0);
1553        activityLogEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1554        activityLogEvalButton.setPreferredSize(new java.awt.Dimension(30, 25));
1555        activityLogEvalButton.addActionListener(new java.awt.event.ActionListener() {
1556            public void actionPerformed(java.awt.event.ActionEvent evt) {
1557                activityLogEvalButtonActionPerformed(evt);
1558            }
1559        });
1560
1561        radioEvalButton.setText("Radio Evaluation");
1562        radioEvalButton.setToolTipText("");
1563        radioEvalButton.setFocusPainted(false);
1564        radioEvalButton.setIconTextGap(0);
1565        radioEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10));
1566        radioEvalButton.setPreferredSize(new java.awt.Dimension(30, 25));
1567        radioEvalButton.addActionListener(new java.awt.event.ActionListener() {
1568            public void actionPerformed(java.awt.event.ActionEvent evt) {
1569                radioEvalButtonActionPerformed(evt);
1570            }
1571        });
1572
1573        javax.swing.GroupLayout evaluationEventsPanelLayout = new javax.swing.GroupLayout(evaluationEventsPanel);
1574        evaluationEventsPanel.setLayout(evaluationEventsPanelLayout);
1575        evaluationEventsPanelLayout.setHorizontalGroup(
1576            evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1577            .addGroup(evaluationEventsPanelLayout.createSequentialGroup()
1578                .addContainerGap()
1579                .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1580                    .addGroup(evaluationEventsPanelLayout.createSequentialGroup()
1581                        .addComponent(atmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)
1582                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1583                        .addComponent(activityLogEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE))
1584                    .addGroup(evaluationEventsPanelLayout.createSequentialGroup()
1585                        .addComponent(cmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)
1586                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1587                        .addComponent(facilitatorEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE))
1588                    .addGroup(evaluationEventsPanelLayout.createSequentialGroup()
1589                        .addComponent(cadEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)
1590                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1591                        .addComponent(radioEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)))
1592                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
1593        );
1594        evaluationEventsPanelLayout.setVerticalGroup(
1595            evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1596            .addGroup(evaluationEventsPanelLayout.createSequentialGroup()
1597                .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1598                    .addComponent(cmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
1599                    .addComponent(facilitatorEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
1600                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1601                .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1602                    .addComponent(atmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
1603                    .addComponent(activityLogEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
1604                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1605                .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1606                    .addComponent(cadEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
1607                    .addComponent(radioEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)))
1608        );
1609
1610        zoomInIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/ZoomIn.png"))); // NOI18N
1611        zoomInIcon.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
1612        zoomInIcon.addMouseListener(new java.awt.event.MouseAdapter() {
1613            public void mouseClicked(java.awt.event.MouseEvent evt) {
1614                zoomInIconMouseClicked(evt);
1615            }
1616        });
1617
1618        zoomOutIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/ZoomOut.png"))); // NOI18N
1619        zoomOutIcon.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
1620        zoomOutIcon.addMouseListener(new java.awt.event.MouseAdapter() {
1621            public void mouseClicked(java.awt.event.MouseEvent evt) {
1622                zoomOutIconMouseClicked(evt);
1623            }
1624        });
1625
1626        timeStampScrollPane.setBorder(null);
1627        timeStampScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
1628        timeStampScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
1629
1630        javax.swing.GroupLayout timeStampPanelLayout = new javax.swing.GroupLayout(timeStampPanel);
1631        timeStampPanel.setLayout(timeStampPanelLayout);
1632        timeStampPanelLayout.setHorizontalGroup(
1633            timeStampPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1634            .addGap(0, 1008, Short.MAX_VALUE)
1635        );
1636        timeStampPanelLayout.setVerticalGroup(
1637            timeStampPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1638            .addGap(0, 100, Short.MAX_VALUE)
1639        );
1640
1641        timeStampScrollPane.setViewportView(timeStampPanel);
1642
1643        fileMenu.setText("File");
1644        fileMenu.setMargin(new java.awt.Insets(0, 10, 0, 10));
1645        fileMenu.addActionListener(new java.awt.event.ActionListener() {
1646            public void actionPerformed(java.awt.event.ActionEvent evt) {
1647                fileMenuActionPerformed(evt);
1648            }
1649        });
1650
1651        fileNew.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
1652        fileNew.setText("New");
1653        fileMenu.add(fileNew);
1654        fileMenu.add(jSeparator1);
1655
1656        fileOpen.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
1657        fileOpen.setText("Open...");
1658        fileOpen.addActionListener(new java.awt.event.ActionListener() {
1659            public void actionPerformed(java.awt.event.ActionEvent evt) {
1660                fileOpenActionPerformed(evt);
1661            }
1662        });
1663        fileMenu.add(fileOpen);
1664        fileMenu.add(jSeparator2);
1665
1666        fileSave.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK));
1667        fileSave.setText("Save");
1668        fileSave.addActionListener(new java.awt.event.ActionListener() {
1669            public void actionPerformed(java.awt.event.ActionEvent evt) {
1670                fileSaveActionPerformed(evt);
1671            }
1672        });
1673        fileMenu.add(fileSave);
1674
1675        fileSaveAs.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
1676        fileSaveAs.setText("Save as...");
1677        fileSaveAs.addActionListener(new java.awt.event.ActionListener() {
1678            public void actionPerformed(java.awt.event.ActionEvent evt) {
1679                fileSaveAsActionPerformed(evt);
1680            }
1681        });
1682        fileMenu.add(fileSaveAs);
1683
1684        scriptBuilderMenuBar.add(fileMenu);
1685
1686        generateMenu.setLabel("Generate");
1687        generateMenu.setMargin(new java.awt.Insets(0, 10, 0, 10));
1688
1689        generateNotebooks.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
1690        generateNotebooks.setText("Generate Notebooks...");
1691        generateNotebooks.addActionListener(new java.awt.event.ActionListener() {
1692            public void actionPerformed(java.awt.event.ActionEvent evt) {
1693                generateNotebooksActionPerformed(evt);
1694            }
1695        });
1696        generateMenu.add(generateNotebooks);
1697
1698        jMenuItem3.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_W, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
1699        jMenuItem3.setText("Generate Web Notebook...");
1700        generateMenu.add(jMenuItem3);
1701
1702        generateScorecards.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
1703        generateScorecards.setText("Generate Scorecards...");
1704        generateScorecards.addActionListener(new java.awt.event.ActionListener() {
1705            public void actionPerformed(java.awt.event.ActionEvent evt) {
1706                generateScorecardsActionPerformed(evt);
1707            }
1708        });
1709        generateMenu.add(generateScorecards);
1710
1711        generateOrganizationChart.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
1712        generateOrganizationChart.setText("Generate D14 TMC Org Chart...");
1713        generateOrganizationChart.addActionListener(new java.awt.event.ActionListener() {
1714            public void actionPerformed(java.awt.event.ActionEvent evt) {
1715                generateOrganizationChartActionPerformed(evt);
1716            }
1717        });
1718        generateMenu.add(generateOrganizationChart);
1719        generateMenu.add(jSeparator3);
1720
1721        generateProjectRequirements.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK));
1722        generateProjectRequirements.setText("Generate Project Worklist...");
1723        generateProjectRequirements.addActionListener(new java.awt.event.ActionListener() {
1724            public void actionPerformed(java.awt.event.ActionEvent evt) {
1725                generateProjectRequirementsActionPerformed(evt);
1726            }
1727        });
1728        generateMenu.add(generateProjectRequirements);
1729
1730        scriptBuilderMenuBar.add(generateMenu);
1731
1732        incidentMenu.setText("Incidents");
1733        incidentMenu.setMargin(new java.awt.Insets(0, 10, 0, 10));
1734
1735        newIncident.setText("New Incident...");
1736        newIncident.addActionListener(new java.awt.event.ActionListener() {
1737            public void actionPerformed(java.awt.event.ActionEvent evt) {
1738                newIncidentActionPerformed(evt);
1739            }
1740        });
1741        incidentMenu.add(newIncident);
1742
1743        editIncident.setText("Edit Incident...");
1744        editIncident.addActionListener(new java.awt.event.ActionListener() {
1745            public void actionPerformed(java.awt.event.ActionEvent evt) {
1746                editIncidentActionPerformed(evt);
1747            }
1748        });
1749        incidentMenu.add(editIncident);
1750        incidentMenu.add(jSeparator4);
1751
1752        saveIncident.setText("Save Incident...");
1753        saveIncident.addActionListener(new java.awt.event.ActionListener() {
1754            public void actionPerformed(java.awt.event.ActionEvent evt) {
1755                saveIncidentActionPerformed(evt);
1756            }
1757        });
1758        incidentMenu.add(saveIncident);
1759
1760        loadIncident.setText("Load Incident...");
1761        loadIncident.addActionListener(new java.awt.event.ActionListener() {
1762            public void actionPerformed(java.awt.event.ActionEvent evt) {
1763                loadIncidentActionPerformed(evt);
1764            }
1765        });
1766        incidentMenu.add(loadIncident);
1767
1768        scriptBuilderMenuBar.add(incidentMenu);
1769
1770        jMenu1.setText("Noise");
1771
1772        jMenuItem1.setText("Generate Noise...");
1773        jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
1774            public void actionPerformed(java.awt.event.ActionEvent evt) {
1775                jMenuItem1ActionPerformed(evt);
1776            }
1777        });
1778        jMenu1.add(jMenuItem1);
1779
1780        scriptBuilderMenuBar.add(jMenu1);
1781
1782        helpMenu.setText("Help");
1783        helpMenu.setMargin(new java.awt.Insets(0, 10, 0, 10));
1784
1785        helpTutorial.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F1, 0));
1786        helpTutorial.setText("Tutorial...");
1787        helpMenu.add(helpTutorial);
1788
1789        helpAbout.setText("About...");
1790        helpMenu.add(helpAbout);
1791
1792        scriptBuilderMenuBar.add(helpMenu);
1793
1794        setJMenuBar(scriptBuilderMenuBar);
1795
1796        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
1797        getContentPane().setLayout(layout);
1798        layout.setHorizontalGroup(
1799            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1800            .addGroup(layout.createSequentialGroup()
1801                .addContainerGap()
1802                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1803                    .addComponent(timelinesScrollPane, 0, 0, Short.MAX_VALUE)
1804                    .addComponent(timeStampScrollPane)
1805                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
1806                        .addComponent(scriptEventsPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
1807                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1808                        .addComponent(scriptEventsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
1809                    .addGroup(layout.createSequentialGroup()
1810                        .addComponent(selectButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
1811                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1812                        .addComponent(incidentEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1813                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1814                        .addComponent(evaluationEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1815                        .addGap(18, 18, 18)
1816                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1817                            .addComponent(zoomInIcon)
1818                            .addComponent(zoomSlider, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
1819                            .addComponent(zoomOutIcon))))
1820                .addContainerGap())
1821        );
1822        layout.setVerticalGroup(
1823            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1824            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
1825                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1826                    .addGroup(layout.createSequentialGroup()
1827                        .addContainerGap()
1828                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1829                            .addComponent(evaluationEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 141, javax.swing.GroupLayout.PREFERRED_SIZE)
1830                            .addComponent(incidentEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 141, javax.swing.GroupLayout.PREFERRED_SIZE)
1831                            .addGroup(layout.createSequentialGroup()
1832                                .addGap(47, 47, 47)
1833                                .addComponent(selectButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE))))
1834                    .addGroup(layout.createSequentialGroup()
1835                        .addGap(20, 20, 20)
1836                        .addComponent(zoomInIcon)
1837                        .addGap(1, 1, 1)
1838                        .addComponent(zoomSlider, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)
1839                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1840                        .addComponent(zoomOutIcon)))
1841                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1842                .addComponent(timeStampScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
1843                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1844                .addComponent(timelinesScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 365, javax.swing.GroupLayout.PREFERRED_SIZE)
1845                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
1846                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
1847                    .addComponent(scriptEventsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
1848                    .addComponent(scriptEventsPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
1849                .addContainerGap())
1850        );
1851
1852        pack();
1853    }// </editor-fold>//GEN-END:initComponents
1854
1855    private void zoomSliderStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_zoomSliderStateChanged
1856        ScriptBuilderGuiConstants.PIXEL_WIDTH_PER_HORIZONTAL_TICK = zoomSlider.getValue()*2;
1857        this.update(script, script);
1858        pack();
1859        repaint();
1860    }//GEN-LAST:event_zoomSliderStateChanged
1861
1862    private void cadEventMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_cadEventMousePressed
1863
1864    }//GEN-LAST:event_cadEventMousePressed
1865
1866    private void radioEventMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_radioEventMousePressed
1867
1868    }//GEN-LAST:event_radioEventMousePressed
1869
1870    private void cadEventMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_cadEventMouseReleased
1871
1872    }//GEN-LAST:event_cadEventMouseReleased
1873
1874    private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
1875       
1876    }//GEN-LAST:event_okButtonActionPerformed
1877
1878    private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelButtonActionPerformed
1879        radioMessage.setText("");
1880        radioTypeComboBox.setSelectedIndex(0);
1881        radioEventFrame.setVisible(false);
1882    }//GEN-LAST:event_cancelButtonActionPerformed
1883
1884    private void editEventListActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editEventListActionPerformed
1885 
1886    }//GEN-LAST:event_editEventListActionPerformed
1887
1888    private void incidentOkButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_incidentOkButtonActionPerformed
1889        if (!edittingIncident)
1890        {
1891            boolean found = false;
1892            int indx = 0;
1893            for (ScriptIncident i : script.incidents)
1894            {
1895                if (i == null)
1896                {
1897                    found = true;
1898                    break;
1899                }
1900                ++indx;
1901                if (i.number == (Integer)addIncidentNumber.getValue())
1902                {
1903                    JOptionPane.showMessageDialog(this, "Incident number already in use.",
1904                        "Unable to Create Incident", JOptionPane.ERROR_MESSAGE);
1905                    incidentFrame.setVisible(true);
1906                    return;
1907                }
1908            }
1909            if (!found)
1910            {
1911                JOptionPane.showMessageDialog(this, "Script already has the max number of incidents.",
1912                    "Unable to Create Incident", JOptionPane.ERROR_MESSAGE);
1913                incidentFrame.setVisible(true);
1914                return;
1915            }
1916
1917            script.incidents.remove(indx);
1918            SimulationScript.incidentColors[indx] = selectedColor;
1919            script.incidents.add(indx,
1920                new ScriptIncident(SimulationScript.incidentColors[indx],
1921                    (Integer)addIncidentNumber.getValue(), addIncidentName.getText(), addIncidentDescription.getText(),
1922                    (Integer)addIncidentLength.getValue() * 60, script));
1923            script.incidents.get(indx).setOffset((Integer)addIncidentStart.getValue() * 60);
1924        }
1925        else
1926        {
1927            ScriptIncident backup = script.incidents.get(oldIncidentIndex);
1928            script.incidents.remove(oldIncidentIndex);
1929            script.incidents.add(oldIncidentIndex, null);
1930
1931            for (ScriptIncident i : script.incidents)
1932            {
1933                if (i != null && i.number == (Integer)addIncidentNumber.getValue())
1934                {
1935                    script.incidents.remove(oldIncidentIndex);
1936                    script.incidents.add(oldIncidentIndex, backup);
1937                    JOptionPane.showMessageDialog(this, "Incident number already in use.",
1938                        "Unable to Create Incident", JOptionPane.ERROR_MESSAGE);
1939                    incidentFrame.setVisible(true);
1940                    return;
1941                }
1942            }
1943
1944            script.incidents.remove(oldIncidentIndex);
1945            SimulationScript.incidentColors[oldIncidentIndex] = selectedColor;
1946            script.incidents.add(oldIncidentIndex,
1947                new ScriptIncident(SimulationScript.incidentColors[oldIncidentIndex],
1948                    (Integer)addIncidentNumber.getValue(), addIncidentName.getText(), addIncidentDescription.getText(),
1949                    (Integer)addIncidentLength.getValue() * 60, script));
1950            script.incidents.get(oldIncidentIndex).slices = backup.slices;
1951            script.incidents.get(oldIncidentIndex).offset = backup.offset;
1952            script.incidents.get(oldIncidentIndex).setOffset((Integer)addIncidentStart.getValue() * 60);
1953        }
1954       
1955        incidentFrame.setVisible(false);
1956        repaint();
1957    }//GEN-LAST:event_incidentOkButtonActionPerformed
1958
1959    private void incidentCancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_incidentCancelButtonActionPerformed
1960        incidentFrame.setVisible(false);
1961    }//GEN-LAST:event_incidentCancelButtonActionPerformed
1962
1963    private void newIncidentActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_newIncidentActionPerformed
1964        edittingIncident = false;
1965
1966        addIncidentName.setText("");
1967        addIncidentNumber.setValue(101);
1968        addIncidentStart.setValue(0);
1969        addIncidentLength.setValue(0);
1970        incidentColorField.setBackground(Color.BLACK);
1971        selectedColor = Color.BLACK;
1972        addIncidentDescription.setText("");
1973
1974        incidentFrame.setVisible(true);
1975    }//GEN-LAST:event_newIncidentActionPerformed
1976
1977    private void selectButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_selectButtonActionPerformed
1978        currentEventType = null;
1979        for (JButton eb : eventButtons) eb.setSelected(false);
1980        selectButton.setSelected(true);
1981    }//GEN-LAST:event_selectButtonActionPerformed
1982
1983    private void cadButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cadButtonActionPerformed
1984        currentEventType = ScriptEventType.CAD_EVENT;
1985        for (JButton eb : eventButtons) eb.setSelected(false);
1986        cadButton.setSelected(true);
1987    }//GEN-LAST:event_cadButtonActionPerformed
1988
1989    private void cctvButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cctvButtonActionPerformed
1990        currentEventType = ScriptEventType.CCTV_EVENT;
1991        for (JButton eb : eventButtons) eb.setSelected(false);
1992        cctvButton.setSelected(true);
1993    }//GEN-LAST:event_cctvButtonActionPerformed
1994
1995    private void chpRadioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chpRadioButtonActionPerformed
1996        currentEventType = ScriptEventType.CHP_RADIO_EVENT;
1997        for (JButton eb : eventButtons) eb.setSelected(false);
1998        chpRadioButton.setSelected(true);
1999    }//GEN-LAST:event_chpRadioButtonActionPerformed
2000
2001    private void fileMenuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fileMenuActionPerformed
2002
2003    }//GEN-LAST:event_fileMenuActionPerformed
2004
2005    private void fileOpenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fileOpenActionPerformed
2006        JFileChooser fc = new JFileChooser();
2007        fc.setFileFilter(new ExtensionFileFilter("Simulation Script (.sim)", new String[] { "sim" }));
2008        fc.showOpenDialog(this);
2009    }//GEN-LAST:event_fileOpenActionPerformed
2010
2011    private void fileSaveAsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fileSaveAsActionPerformed
2012        JFileChooser fc = new JFileChooser();
2013        fc.setFileFilter(new ExtensionFileFilter("Simulation Script (.sim)", new String[] { "sim" }));
2014        fc.showSaveDialog(this);
2015    }//GEN-LAST:event_fileSaveAsActionPerformed
2016
2017    private void fileSaveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fileSaveActionPerformed
2018        JFileChooser fc = new JFileChooser();
2019        fc.setFileFilter(new ExtensionFileFilter("Simulation Script (.sim)", new String[] { "sim" }));
2020        fc.showSaveDialog(this);
2021    }//GEN-LAST:event_fileSaveActionPerformed
2022
2023    private void editIncidentActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editIncidentActionPerformed
2024        Object[] incidentList = script.incidents.toArray();
2025        ScriptIncident i = (ScriptIncident)JOptionPane.showInputDialog(
2026                            this,
2027                            "Select Incident:",
2028                            "Edit Incident",
2029                            JOptionPane.PLAIN_MESSAGE,
2030                            null,
2031                            incidentList,
2032                            script.incidents.get(0));
2033
2034        // If a valid incident was selected
2035        if (i != null)
2036        {
2037            edittingIncident = true;
2038            oldIncidentIndex = script.incidents.indexOf(i);
2039
2040            addIncidentName.setText(i.name);
2041            addIncidentNumber.setValue(i.number);
2042            addIncidentStart.setValue(i.offset / 60);
2043            addIncidentLength.setValue(i.length / 60);
2044            incidentColorField.setBackground(i.color);
2045            selectedColor = i.color;
2046            addIncidentDescription.setText(i.description);
2047
2048            incidentFrame.setVisible(true);
2049        }
2050    }//GEN-LAST:event_editIncidentActionPerformed
2051
2052    private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem1ActionPerformed
2053        addNoiseFrame.setVisible(true);
2054    }//GEN-LAST:event_jMenuItem1ActionPerformed
2055
2056    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
2057        addNoiseFrame.setVisible(false);
2058    }//GEN-LAST:event_jButton1ActionPerformed
2059
2060    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
2061        Random rng = new Random();
2062        ScriptEventType[] eventTypes = ScriptEventType.values();
2063
2064        /* For prototyping purpose, ignore the sliders and average their values */
2065        int total = jSlider1.getValue() + jSlider2.getValue() + jSlider3.getValue() + jSlider5.getValue() + jSlider4.getValue();
2066        total /= 5;
2067
2068        for (int i = 0; i < script.incidents.get(9).slices.size(); i++)
2069        {
2070            script.incidents.get(9).slices.get(i).events.clear();
2071        }
2072       
2073        for(int i = 0; i < total; i++)
2074        {
2075            int n = rng.nextInt();
2076            int s = rng.nextInt();
2077            int e = rng.nextInt();
2078            if (n < 0) n *= -1;
2079            if (s < 0) s *= -1;
2080            if (e < 0) e *= -1;
2081
2082            script.incidents.get(9).slices.get(s % (script.incidents.get(9)
2083                    .slices.size())).addEvent(new ScriptEvent(eventTypes[e % eventTypes.length]));
2084        }
2085
2086        addNoiseFrame.setVisible(false);
2087
2088        update(script, script);
2089}//GEN-LAST:event_jButton2ActionPerformed
2090
2091    private void saveIncidentActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveIncidentActionPerformed
2092        Object[] incidentList = script.incidents.toArray();
2093        JOptionPane.showInputDialog(
2094                            this,
2095                            "Select Incident:",
2096                            "Save Incident",
2097                            JOptionPane.PLAIN_MESSAGE,
2098                            null,
2099                            incidentList,
2100                            script.incidents.get(0));
2101
2102        JFileChooser fc = new JFileChooser();
2103        fc.setFileFilter(new ExtensionFileFilter("Script Incident (.xml)", new String[] { "xml" }));
2104        fc.showSaveDialog(this);
2105    }//GEN-LAST:event_saveIncidentActionPerformed
2106
2107    private void loadIncidentActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_loadIncidentActionPerformed
2108        JFileChooser fc = new JFileChooser();
2109        fc.setFileFilter(new ExtensionFileFilter("Script Incident (.xml)", new String[] { "xml" }));
2110        fc.showOpenDialog(this);
2111    }//GEN-LAST:event_loadIncidentActionPerformed
2112
2113    private void generateProjectRequirementsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_generateProjectRequirementsActionPerformed
2114        JFileChooser fc = new JFileChooser();
2115        fc.setFileFilter(new ExtensionFileFilter("Portable Document Format (.pdf)", new String[] { "pdf" }));
2116        fc.setSelectedFile(new File("Requirements.pdf"));
2117        fc.showSaveDialog(this);
2118    }//GEN-LAST:event_generateProjectRequirementsActionPerformed
2119
2120    private void generateNotebooksActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_generateNotebooksActionPerformed
2121        JFileChooser fc = new JFileChooser();
2122        fc.setFileFilter(new ExtensionFileFilter("Portable Document Format (.pdf)", new String[] { "pdf" }));
2123        fc.setSelectedFile(new File("Notebooks.pdf"));
2124        fc.showSaveDialog(this);
2125    }//GEN-LAST:event_generateNotebooksActionPerformed
2126
2127    private void generateScorecardsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_generateScorecardsActionPerformed
2128        JFileChooser fc = new JFileChooser();
2129        fc.setFileFilter(new ExtensionFileFilter("Portable Document Format (.pdf)", new String[] { "pdf" }));
2130        fc.setSelectedFile(new File("Scorecards.pdf"));
2131        fc.showSaveDialog(this);
2132    }//GEN-LAST:event_generateScorecardsActionPerformed
2133
2134    private void generateOrganizationChartActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_generateOrganizationChartActionPerformed
2135        JFileChooser fc = new JFileChooser();
2136        fc.setFileFilter(new ExtensionFileFilter("Portable Document Format (.pdf)", new String[] { "pdf" }));
2137        fc.setSelectedFile(new File("OrganizationChart.pdf"));
2138        fc.showSaveDialog(this);
2139    }//GEN-LAST:event_generateOrganizationChartActionPerformed
2140
2141    private void witnessButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_witnessButtonActionPerformed
2142        currentEventType = ScriptEventType.WITNESS_EVENT;
2143        for (JButton eb : eventButtons) eb.setSelected(false);
2144        witnessButton.setSelected(true);
2145    }//GEN-LAST:event_witnessButtonActionPerformed
2146
2147    private void unitButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_unitButtonActionPerformed
2148        currentEventType = ScriptEventType.UNIT_EVENT;
2149        for (JButton eb : eventButtons) eb.setSelected(false);
2150        unitButton.setSelected(true);
2151    }//GEN-LAST:event_unitButtonActionPerformed
2152
2153    private void towButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_towButtonActionPerformed
2154        currentEventType = ScriptEventType.TOW_EVENT;
2155        for (JButton eb : eventButtons) eb.setSelected(false);
2156        towButton.setSelected(true);
2157    }//GEN-LAST:event_towButtonActionPerformed
2158
2159    private void paramicsButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_paramicsButtonActionPerformed
2160        currentEventType = ScriptEventType.PARAMICS_EVENT;
2161        for (JButton eb : eventButtons) eb.setSelected(false);
2162        paramicsButton.setSelected(true);
2163    }//GEN-LAST:event_paramicsButtonActionPerformed
2164
2165    private void maintenanceRadioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_maintenanceRadioButtonActionPerformed
2166        currentEventType = ScriptEventType.MAINTENANCE_RADIO_EVENT;
2167        for (JButton eb : eventButtons) eb.setSelected(false);
2168        maintenanceRadioButton.setSelected(true);
2169    }//GEN-LAST:event_maintenanceRadioButtonActionPerformed
2170
2171    private void atmsEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_atmsEvalButtonActionPerformed
2172        currentEventType = ScriptEventType.ATMS_EVAL_EVENT;
2173        for (JButton eb : eventButtons) eb.setSelected(false);
2174        atmsEvalButton.setSelected(true);
2175    }//GEN-LAST:event_atmsEvalButtonActionPerformed
2176
2177    private void telephoneButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_telephoneButtonActionPerformed
2178        currentEventType = ScriptEventType.TELEPHONE_EVENT;
2179        for (JButton eb : eventButtons) eb.setSelected(false);
2180        telephoneButton.setSelected(true);
2181    }//GEN-LAST:event_telephoneButtonActionPerformed
2182
2183    private void tmtRadioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tmtRadioButtonActionPerformed
2184        currentEventType = ScriptEventType.TMT_RADIO_EVENT;
2185        for (JButton eb : eventButtons) eb.setSelected(false);
2186        tmtRadioButton.setSelected(true);
2187    }//GEN-LAST:event_tmtRadioButtonActionPerformed
2188
2189    private void cmsEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmsEvalButtonActionPerformed
2190        currentEventType = ScriptEventType.CMS_EVAL_EVENT;
2191        for (JButton eb : eventButtons) eb.setSelected(false);
2192        cmsEvalButton.setSelected(true);
2193    }//GEN-LAST:event_cmsEvalButtonActionPerformed
2194
2195    private void cadEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cadEvalButtonActionPerformed
2196        currentEventType = ScriptEventType.CAD_EVAL_EVENT;
2197        for (JButton eb : eventButtons) eb.setSelected(false);
2198        cadEvalButton.setSelected(true);
2199    }//GEN-LAST:event_cadEvalButtonActionPerformed
2200
2201    private void activityLogEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_activityLogEvalButtonActionPerformed
2202        currentEventType = ScriptEventType.ACTIVITY_LOG_EVAL_EVENT;
2203        for (JButton eb : eventButtons) eb.setSelected(false);
2204        activityLogEvalButton.setSelected(true);
2205    }//GEN-LAST:event_activityLogEvalButtonActionPerformed
2206
2207    private void radioEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_radioEvalButtonActionPerformed
2208        currentEventType = ScriptEventType.RADIO_EVAL_EVENT;
2209        for (JButton eb : eventButtons) eb.setSelected(false);
2210        radioEvalButton.setSelected(true);
2211    }//GEN-LAST:event_radioEvalButtonActionPerformed
2212
2213    private void facilitatorEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_facilitatorEvalButtonActionPerformed
2214        currentEventType = ScriptEventType.FACILITATOR_EVAL_EVENT;
2215        for (JButton eb : eventButtons) eb.setSelected(false);
2216        facilitatorEvalButton.setSelected(true);
2217    }//GEN-LAST:event_facilitatorEvalButtonActionPerformed
2218
2219    private void audioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_audioButtonActionPerformed
2220        currentEventType = ScriptEventType.AUDIO_EVENT;
2221        for (JButton eb : eventButtons) eb.setSelected(false);
2222        audioButton.setSelected(true);
2223    }//GEN-LAST:event_audioButtonActionPerformed
2224
2225    private void zoomInIconMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_zoomInIconMouseClicked
2226        zoomSlider.setValue(zoomSlider.getValue() >= 21 ? 21 : zoomSlider.getValue() + 1);
2227    }//GEN-LAST:event_zoomInIconMouseClicked
2228
2229    private void zoomOutIconMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_zoomOutIconMouseClicked
2230        zoomSlider.setValue(zoomSlider.getValue() <= 5 ? 5 : zoomSlider.getValue() - 1);
2231    }//GEN-LAST:event_zoomOutIconMouseClicked
2232
2233    private Color selectedColor = Color.BLACK;
2234
2235    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
2236        Color newColor = incidentColorChooser.showDialog(this, "Incident Color", incidentColorField.getBackground());
2237        if (newColor != null)
2238        {
2239            selectedColor = newColor;
2240            incidentColorField.setBackground(newColor);
2241        }
2242    }//GEN-LAST:event_jButton3ActionPerformed
2243
2244    /**
2245    * @param args the command line arguments
2246    */
2247    public static void main(String args[])
2248    {
2249        try {
2250            UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
2251        } catch (ClassNotFoundException ex) {
2252        } catch (InstantiationException ex) {
2253        } catch (IllegalAccessException ex) {
2254        } catch (UnsupportedLookAndFeelException ex) {
2255        }
2256
2257        try {
2258            UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
2259        } catch (ClassNotFoundException ex) {
2260        } catch (InstantiationException ex) {
2261        } catch (IllegalAccessException ex) {
2262        } catch (UnsupportedLookAndFeelException ex) {
2263        }
2264
2265        java.awt.EventQueue.invokeLater
2266        (
2267            new Runnable()
2268            {
2269                public void run()
2270                {
2271                    new ScriptBuilderFrame().setVisible(true);
2272                }
2273            }
2274        );
2275    }
2276
2277    // Variables declaration - do not modify//GEN-BEGIN:variables
2278    private javax.swing.JButton activityLogEvalButton;
2279    private javax.swing.JTextArea addIncidentDescription;
2280    private javax.swing.JSpinner addIncidentLength;
2281    private javax.swing.JTextField addIncidentName;
2282    private javax.swing.JSpinner addIncidentNumber;
2283    private javax.swing.JSpinner addIncidentStart;
2284    private javax.swing.JFrame addNoiseFrame;
2285    private javax.swing.JButton atmsEvalButton;
2286    private javax.swing.JButton audioButton;
2287    private javax.swing.JButton cadButton;
2288    private javax.swing.JButton cadEvalButton;
2289    private javax.swing.JMenuItem cadEvent;
2290    private javax.swing.JFrame cadEventFrame;
2291    private javax.swing.JButton cancelButton;
2292    private javax.swing.JButton cctvButton;
2293    private javax.swing.JButton chpRadioButton;
2294    private javax.swing.JButton cmsEvalButton;
2295    private javax.swing.JMenuItem deleteEventList;
2296    private javax.swing.JMenuItem editEventList;
2297    private javax.swing.JMenuItem editIncident;
2298    private javax.swing.JPanel evaluationEventsPanel;
2299    private javax.swing.JPopupMenu eventListPopupMenu;
2300    private javax.swing.JPopupMenu eventPopupMenu;
2301    private javax.swing.JButton facilitatorEvalButton;
2302    private javax.swing.JMenu fileMenu;
2303    private javax.swing.JMenuItem fileNew;
2304    private javax.swing.JMenuItem fileOpen;
2305    private javax.swing.JMenuItem fileSave;
2306    private javax.swing.JMenuItem fileSaveAs;
2307    private javax.swing.JMenu generateMenu;
2308    private javax.swing.JMenuItem generateNotebooks;
2309    private javax.swing.JMenuItem generateOrganizationChart;
2310    private javax.swing.JMenuItem generateProjectRequirements;
2311    private javax.swing.JMenuItem generateScorecards;
2312    private javax.swing.JMenuItem helpAbout;
2313    private javax.swing.JMenu helpMenu;
2314    private javax.swing.JMenuItem helpTutorial;
2315    private javax.swing.JButton incidentCancelButton;
2316    private javax.swing.JColorChooser incidentColorChooser;
2317    private javax.swing.JTextField incidentColorField;
2318    private javax.swing.JTextArea incidentDescription;
2319    private javax.swing.JScrollPane incidentDescriptionPane;
2320    private javax.swing.JPanel incidentEventsPanel;
2321    private javax.swing.JFrame incidentFrame;
2322    private javax.swing.JMenu incidentMenu;
2323    private javax.swing.JTextField incidentName;
2324    private javax.swing.JTextField incidentNumber;
2325    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel1;
2326    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel10;
2327    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel2;
2328    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel3;
2329    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel4;
2330    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel5;
2331    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel6;
2332    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel7;
2333    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel8;
2334    private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel9;
2335    private javax.swing.JButton incidentOkButton;
2336    private javax.swing.JPopupMenu incidentPopupMenu;
2337    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel1;
2338    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel10;
2339    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel2;
2340    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel3;
2341    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel4;
2342    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel5;
2343    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel6;
2344    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel7;
2345    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel8;
2346    private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel9;
2347    private javax.swing.JButton jButton1;
2348    private javax.swing.JButton jButton2;
2349    private javax.swing.JButton jButton3;
2350    private javax.swing.JLabel jLabel10;
2351    private javax.swing.JLabel jLabel11;
2352    private javax.swing.JLabel jLabel12;
2353    private javax.swing.JLabel jLabel13;
2354    private javax.swing.JLabel jLabel14;
2355    private javax.swing.JLabel jLabel15;
2356    private javax.swing.JLabel jLabel16;
2357    private javax.swing.JLabel jLabel17;
2358    private javax.swing.JLabel jLabel2;
2359    private javax.swing.JLabel jLabel20;
2360    private javax.swing.JLabel jLabel21;
2361    private javax.swing.JLabel jLabel3;
2362    private javax.swing.JLabel jLabel4;
2363    private javax.swing.JLabel jLabel5;
2364    private javax.swing.JLabel jLabel6;
2365    private javax.swing.JLabel jLabel7;
2366    private javax.swing.JLabel jLabel8;
2367    private javax.swing.JLabel jLabel9;
2368    private javax.swing.JMenu jMenu1;
2369    private javax.swing.JMenuItem jMenuItem1;
2370    private javax.swing.JMenuItem jMenuItem2;
2371    private javax.swing.JMenuItem jMenuItem3;
2372    private javax.swing.JMenuItem jMenuItem4;
2373    private javax.swing.JMenuItem jMenuItem5;
2374    private javax.swing.JMenuItem jMenuItem6;
2375    private javax.swing.JScrollPane jScrollPane1;
2376    private javax.swing.JPopupMenu.Separator jSeparator1;
2377    private javax.swing.JPopupMenu.Separator jSeparator2;
2378    private javax.swing.JPopupMenu.Separator jSeparator3;
2379    private javax.swing.JPopupMenu.Separator jSeparator4;
2380    private javax.swing.JSlider jSlider1;
2381    private javax.swing.JSlider jSlider2;
2382    private javax.swing.JSlider jSlider3;
2383    private javax.swing.JSlider jSlider4;
2384    private javax.swing.JSlider jSlider5;
2385    private javax.swing.JTextArea jTextArea1;
2386    private javax.swing.JMenuItem loadIncident;
2387    private javax.swing.JButton maintenanceRadioButton;
2388    private javax.swing.JMenuItem newIncident;
2389    private javax.swing.JButton okButton;
2390    private javax.swing.JButton paramicsButton;
2391    private javax.swing.JMenuItem popupDeleteIncident;
2392    private javax.swing.JButton radioEvalButton;
2393    private javax.swing.JMenuItem radioEvent;
2394    private javax.swing.JFrame radioEventFrame;
2395    private javax.swing.JTextArea radioMessage;
2396    private javax.swing.JScrollPane radioMessageScrollPane;
2397    private javax.swing.JComboBox radioTypeComboBox;
2398    private javax.swing.JLabel radioTypeLabel;
2399    private javax.swing.JMenuItem saveIncident;
2400    private javax.swing.JMenuBar scriptBuilderMenuBar;
2401    private javax.swing.JList scriptEventsList;
2402    private javax.swing.JScrollPane scriptEventsPane;
2403    private javax.swing.JPanel scriptEventsPanel;
2404    private javax.swing.JPanel scriptEventsPanel1;
2405    private javax.swing.JButton selectButton;
2406    private javax.swing.JButton telephoneButton;
2407    private scriptbuilder.gui.panels.TimeStampPanel timeStampPanel;
2408    private javax.swing.JScrollPane timeStampScrollPane;
2409    private scriptbuilder.gui.panels.TimelineTickPanel timelineTickPanel;
2410    private javax.swing.JScrollPane timelinesScrollPane;
2411    private javax.swing.JButton tmtRadioButton;
2412    private javax.swing.JButton towButton;
2413    private javax.swing.JButton unitButton;
2414    private javax.swing.JButton witnessButton;
2415    private javax.swing.JLabel zoomInIcon;
2416    private javax.swing.JLabel zoomOutIcon;
2417    private javax.swing.JSlider zoomSlider;
2418    // End of variables declaration//GEN-END:variables
2419
2420}
Note: See TracBrowser for help on using the repository browser.