Changeset 144 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/ScriptOverviewWindow.java
- Timestamp:
- 05/16/2019 05:00:16 AM (7 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/gui/ScriptOverviewWindow.java
r85 r144 1 /*2 * ScriptBuilderFrame.java3 *4 * Created on May 8, 2010, 12:01:46 PM5 */6 1 package scriptbuilder.gui; 7 2 … … 25 20 import javax.swing.UIManager; 26 21 import javax.swing.UnsupportedLookAndFeelException; 22 import scriptbuilder.gui.drawers.RangeSlider; 27 23 import scriptbuilder.structures.ScriptEvent; 28 24 import scriptbuilder.structures.ScriptEvent.ScriptEventType; … … 35 31 36 32 /** 37 * GUI for the script builder. Contains all panels and editor elements. Performs 38 * updates to reflect script model, which it observes. 39 * 33 * Overview window shows high level view of all incidents in the script. 34 * 40 35 * @author Greg Eddington 41 36 * @author Bryan McGuffin 37 * @author jdalbey 42 38 */ 43 public class Script BuilderFrameextends javax.swing.JFrame implements Observer39 public class ScriptOverviewWindow extends javax.swing.JFrame implements Observer 44 40 { 45 41 … … 142 138 * for all buttons. 143 139 */ 144 public Script BuilderFrame()140 public ScriptOverviewWindow() 145 141 { 146 142 script = new SimulationScript(); … … 186 182 187 183 incidentTimelinePanel1.timelinePanelUpdate(script.incidents.get(0)); 188 incidentTimelinePanel2.timelinePanelUpdate(script.incidents.get(1)); 189 incidentTimelinePanel3.timelinePanelUpdate(script.incidents.get(2)); 190 incidentTimelinePanel4.timelinePanelUpdate(script.incidents.get(3)); 191 incidentTimelinePanel5.timelinePanelUpdate(script.incidents.get(4)); 192 incidentTimelinePanel6.timelinePanelUpdate(script.incidents.get(5)); 193 incidentTimelinePanel7.timelinePanelUpdate(script.incidents.get(6)); 194 incidentTimelinePanel8.timelinePanelUpdate(script.incidents.get(7)); 195 incidentTimelinePanel9.timelinePanelUpdate(script.incidents.get(8)); 196 incidentTimelinePanel10.timelinePanelUpdate(script.incidents.get(9)); 184 197 185 198 186 incidentNumberPanel1.update(script.incidents.get(0)); 199 incidentNumberPanel2.update(script.incidents.get(1)); 200 incidentNumberPanel3.update(script.incidents.get(2)); 201 incidentNumberPanel4.update(script.incidents.get(3)); 202 incidentNumberPanel5.update(script.incidents.get(4)); 203 incidentNumberPanel6.update(script.incidents.get(5)); 204 incidentNumberPanel7.update(script.incidents.get(6)); 205 incidentNumberPanel8.update(script.incidents.get(7)); 206 incidentNumberPanel9.update(script.incidents.get(8)); 207 incidentNumberPanel10.update(script.incidents.get(9)); 187 208 188 209 189 /** … … 245 225 @SuppressWarnings("unchecked") 246 226 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 247 private void initComponents() 248 { 227 private void initComponents() { 249 228 250 229 incidentPopupMenu = new javax.swing.JPopupMenu(); … … 307 286 timelineTickPanel = new scriptbuilder.gui.panels.TimelineTickPanel(); 308 287 incidentTimelinePanel1 = new scriptbuilder.gui.panels.IncidentTimelinePanel(); 309 incidentTimelinePanel2 = new scriptbuilder.gui.panels.IncidentTimelinePanel();310 incidentTimelinePanel8 = new scriptbuilder.gui.panels.IncidentTimelinePanel();311 incidentTimelinePanel3 = new scriptbuilder.gui.panels.IncidentTimelinePanel();312 incidentTimelinePanel6 = new scriptbuilder.gui.panels.IncidentTimelinePanel();313 incidentTimelinePanel5 = new scriptbuilder.gui.panels.IncidentTimelinePanel();314 incidentTimelinePanel4 = new scriptbuilder.gui.panels.IncidentTimelinePanel();315 incidentTimelinePanel7 = new scriptbuilder.gui.panels.IncidentTimelinePanel();316 incidentTimelinePanel10 = new scriptbuilder.gui.panels.IncidentTimelinePanel();317 incidentTimelinePanel9 = new scriptbuilder.gui.panels.IncidentTimelinePanel();318 288 incidentNumberPanel1 = new scriptbuilder.gui.panels.IncidentNumberPanel(); 319 incidentNumberPanel2 = new scriptbuilder.gui.panels.IncidentNumberPanel();320 incidentNumberPanel3 = new scriptbuilder.gui.panels.IncidentNumberPanel();321 incidentNumberPanel4 = new scriptbuilder.gui.panels.IncidentNumberPanel();322 incidentNumberPanel5 = new scriptbuilder.gui.panels.IncidentNumberPanel();323 incidentNumberPanel6 = new scriptbuilder.gui.panels.IncidentNumberPanel();324 incidentNumberPanel7 = new scriptbuilder.gui.panels.IncidentNumberPanel();325 incidentNumberPanel8 = new scriptbuilder.gui.panels.IncidentNumberPanel();326 incidentNumberPanel9 = new scriptbuilder.gui.panels.IncidentNumberPanel();327 incidentNumberPanel10 = new scriptbuilder.gui.panels.IncidentNumberPanel();328 289 zoomSlider = new javax.swing.JSlider(); 329 290 zoomInIcon = new javax.swing.JLabel(); … … 363 324 364 325 cadEvent.setText("CAD Event"); 365 cadEvent.addMouseListener(new java.awt.event.MouseAdapter() 366 { 367 public void mousePressed(java.awt.event.MouseEvent evt) 368 { 326 cadEvent.addMouseListener(new java.awt.event.MouseAdapter() { 327 public void mousePressed(java.awt.event.MouseEvent evt) { 369 328 cadEventMousePressed(evt); 370 329 } 371 public void mouseReleased(java.awt.event.MouseEvent evt) 372 { 330 public void mouseReleased(java.awt.event.MouseEvent evt) { 373 331 cadEventMouseReleased(evt); 374 332 } … … 380 338 381 339 radioEvent.setText("Radio Event"); 382 radioEvent.addMouseListener(new java.awt.event.MouseAdapter() 383 { 384 public void mousePressed(java.awt.event.MouseEvent evt) 385 { 340 radioEvent.addMouseListener(new java.awt.event.MouseAdapter() { 341 public void mousePressed(java.awt.event.MouseEvent evt) { 386 342 radioEventMousePressed(evt); 387 343 } … … 437 393 438 394 okButton.setText("OK"); 439 okButton.addActionListener(new java.awt.event.ActionListener() 440 { 441 public void actionPerformed(java.awt.event.ActionEvent evt) 442 { 395 okButton.addActionListener(new java.awt.event.ActionListener() { 396 public void actionPerformed(java.awt.event.ActionEvent evt) { 443 397 okButtonActionPerformed(evt); 444 398 } … … 446 400 447 401 cancelButton.setText("Cancel"); 448 cancelButton.addActionListener(new java.awt.event.ActionListener() 449 { 450 public void actionPerformed(java.awt.event.ActionEvent evt) 451 { 402 cancelButton.addActionListener(new java.awt.event.ActionListener() { 403 public void actionPerformed(java.awt.event.ActionEvent evt) { 452 404 cancelButtonActionPerformed(evt); 453 405 } … … 492 444 493 445 editEventList.setText("Edit..."); 494 editEventList.addActionListener(new java.awt.event.ActionListener() 495 { 496 public void actionPerformed(java.awt.event.ActionEvent evt) 497 { 446 editEventList.addActionListener(new java.awt.event.ActionListener() { 447 public void actionPerformed(java.awt.event.ActionEvent evt) { 498 448 editEventListActionPerformed(evt); 499 449 } … … 525 475 526 476 incidentOkButton.setText("OK"); 527 incidentOkButton.addActionListener(new java.awt.event.ActionListener() 528 { 529 public void actionPerformed(java.awt.event.ActionEvent evt) 530 { 477 incidentOkButton.addActionListener(new java.awt.event.ActionListener() { 478 public void actionPerformed(java.awt.event.ActionEvent evt) { 531 479 incidentOkButtonActionPerformed(evt); 532 480 } … … 534 482 535 483 incidentCancelButton.setText("Cancel"); 536 incidentCancelButton.addActionListener(new java.awt.event.ActionListener() 537 { 538 public void actionPerformed(java.awt.event.ActionEvent evt) 539 { 484 incidentCancelButton.addActionListener(new java.awt.event.ActionListener() { 485 public void actionPerformed(java.awt.event.ActionEvent evt) { 540 486 incidentCancelButtonActionPerformed(evt); 541 487 } 542 488 }); 543 489 544 addIncidentNumber.setModel(new javax.swing.SpinnerNumberModel( Integer.valueOf(101), Integer.valueOf(101), null, Integer.valueOf(1)));490 addIncidentNumber.setModel(new javax.swing.SpinnerNumberModel(101, 101, null, 1)); 545 491 546 492 jLabel11.setText("Incident Length in Minutes: "); 547 493 548 addIncidentLength.setModel(new javax.swing.SpinnerNumberModel( Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));494 addIncidentLength.setModel(new javax.swing.SpinnerNumberModel(0, 0, null, 1)); 549 495 550 496 jLabel12.setText("Incident Start Time in Minutes:"); 551 497 552 addIncidentStart.setModel(new javax.swing.SpinnerNumberModel( Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));498 addIncidentStart.setModel(new javax.swing.SpinnerNumberModel(0, 0, null, 1)); 553 499 554 500 jButton3.setText("Choose..."); 555 jButton3.addActionListener(new java.awt.event.ActionListener() 556 { 557 public void actionPerformed(java.awt.event.ActionEvent evt) 558 { 501 jButton3.addActionListener(new java.awt.event.ActionListener() { 502 public void actionPerformed(java.awt.event.ActionEvent evt) { 559 503 jButton3ActionPerformed(evt); 560 504 } … … 668 612 669 613 jButton1.setText("Cancel"); 670 jButton1.addActionListener(new java.awt.event.ActionListener() 671 { 672 public void actionPerformed(java.awt.event.ActionEvent evt) 673 { 614 jButton1.addActionListener(new java.awt.event.ActionListener() { 615 public void actionPerformed(java.awt.event.ActionEvent evt) { 674 616 jButton1ActionPerformed(evt); 675 617 } … … 677 619 678 620 jButton2.setText("Generate"); 679 jButton2.addActionListener(new java.awt.event.ActionListener() 680 { 681 public void actionPerformed(java.awt.event.ActionEvent evt) 682 { 621 jButton2.addActionListener(new java.awt.event.ActionListener() { 622 public void actionPerformed(java.awt.event.ActionEvent evt) { 683 623 jButton2ActionPerformed(evt); 684 624 } … … 791 731 ); 792 732 793 incidentTimelinePanel2.setOpaque(false);794 795 javax.swing.GroupLayout incidentTimelinePanel2Layout = new javax.swing.GroupLayout(incidentTimelinePanel2);796 incidentTimelinePanel2.setLayout(incidentTimelinePanel2Layout);797 incidentTimelinePanel2Layout.setHorizontalGroup(798 incidentTimelinePanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)799 .addGap(0, 0, Short.MAX_VALUE)800 );801 incidentTimelinePanel2Layout.setVerticalGroup(802 incidentTimelinePanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)803 .addGap(0, 0, Short.MAX_VALUE)804 );805 806 incidentTimelinePanel8.setOpaque(false);807 808 javax.swing.GroupLayout incidentTimelinePanel8Layout = new javax.swing.GroupLayout(incidentTimelinePanel8);809 incidentTimelinePanel8.setLayout(incidentTimelinePanel8Layout);810 incidentTimelinePanel8Layout.setHorizontalGroup(811 incidentTimelinePanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)812 .addGap(0, 0, Short.MAX_VALUE)813 );814 incidentTimelinePanel8Layout.setVerticalGroup(815 incidentTimelinePanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)816 .addGap(0, 0, Short.MAX_VALUE)817 );818 819 incidentTimelinePanel3.setOpaque(false);820 821 javax.swing.GroupLayout incidentTimelinePanel3Layout = new javax.swing.GroupLayout(incidentTimelinePanel3);822 incidentTimelinePanel3.setLayout(incidentTimelinePanel3Layout);823 incidentTimelinePanel3Layout.setHorizontalGroup(824 incidentTimelinePanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)825 .addGap(0, 0, Short.MAX_VALUE)826 );827 incidentTimelinePanel3Layout.setVerticalGroup(828 incidentTimelinePanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)829 .addGap(0, 0, Short.MAX_VALUE)830 );831 832 incidentTimelinePanel6.setOpaque(false);833 834 javax.swing.GroupLayout incidentTimelinePanel6Layout = new javax.swing.GroupLayout(incidentTimelinePanel6);835 incidentTimelinePanel6.setLayout(incidentTimelinePanel6Layout);836 incidentTimelinePanel6Layout.setHorizontalGroup(837 incidentTimelinePanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)838 .addGap(0, 0, Short.MAX_VALUE)839 );840 incidentTimelinePanel6Layout.setVerticalGroup(841 incidentTimelinePanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)842 .addGap(0, 0, Short.MAX_VALUE)843 );844 845 incidentTimelinePanel5.setOpaque(false);846 847 javax.swing.GroupLayout incidentTimelinePanel5Layout = new javax.swing.GroupLayout(incidentTimelinePanel5);848 incidentTimelinePanel5.setLayout(incidentTimelinePanel5Layout);849 incidentTimelinePanel5Layout.setHorizontalGroup(850 incidentTimelinePanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)851 .addGap(0, 0, Short.MAX_VALUE)852 );853 incidentTimelinePanel5Layout.setVerticalGroup(854 incidentTimelinePanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)855 .addGap(0, 0, Short.MAX_VALUE)856 );857 858 incidentTimelinePanel4.setOpaque(false);859 860 javax.swing.GroupLayout incidentTimelinePanel4Layout = new javax.swing.GroupLayout(incidentTimelinePanel4);861 incidentTimelinePanel4.setLayout(incidentTimelinePanel4Layout);862 incidentTimelinePanel4Layout.setHorizontalGroup(863 incidentTimelinePanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)864 .addGap(0, 0, Short.MAX_VALUE)865 );866 incidentTimelinePanel4Layout.setVerticalGroup(867 incidentTimelinePanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)868 .addGap(0, 0, Short.MAX_VALUE)869 );870 871 incidentTimelinePanel7.setOpaque(false);872 873 javax.swing.GroupLayout incidentTimelinePanel7Layout = new javax.swing.GroupLayout(incidentTimelinePanel7);874 incidentTimelinePanel7.setLayout(incidentTimelinePanel7Layout);875 incidentTimelinePanel7Layout.setHorizontalGroup(876 incidentTimelinePanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)877 .addGap(0, 0, Short.MAX_VALUE)878 );879 incidentTimelinePanel7Layout.setVerticalGroup(880 incidentTimelinePanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)881 .addGap(0, 0, Short.MAX_VALUE)882 );883 884 incidentTimelinePanel10.setOpaque(false);885 886 javax.swing.GroupLayout incidentTimelinePanel10Layout = new javax.swing.GroupLayout(incidentTimelinePanel10);887 incidentTimelinePanel10.setLayout(incidentTimelinePanel10Layout);888 incidentTimelinePanel10Layout.setHorizontalGroup(889 incidentTimelinePanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)890 .addGap(0, 0, Short.MAX_VALUE)891 );892 incidentTimelinePanel10Layout.setVerticalGroup(893 incidentTimelinePanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)894 .addGap(0, 0, Short.MAX_VALUE)895 );896 897 incidentTimelinePanel9.setOpaque(false);898 899 javax.swing.GroupLayout incidentTimelinePanel9Layout = new javax.swing.GroupLayout(incidentTimelinePanel9);900 incidentTimelinePanel9.setLayout(incidentTimelinePanel9Layout);901 incidentTimelinePanel9Layout.setHorizontalGroup(902 incidentTimelinePanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)903 .addGap(0, 0, Short.MAX_VALUE)904 );905 incidentTimelinePanel9Layout.setVerticalGroup(906 incidentTimelinePanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)907 .addGap(0, 0, Short.MAX_VALUE)908 );909 910 733 incidentNumberPanel1.setOpaque(false); 911 734 … … 921 744 ); 922 745 923 incidentNumberPanel2.setOpaque(false);924 925 javax.swing.GroupLayout incidentNumberPanel2Layout = new javax.swing.GroupLayout(incidentNumberPanel2);926 incidentNumberPanel2.setLayout(incidentNumberPanel2Layout);927 incidentNumberPanel2Layout.setHorizontalGroup(928 incidentNumberPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)929 .addGap(0, 0, Short.MAX_VALUE)930 );931 incidentNumberPanel2Layout.setVerticalGroup(932 incidentNumberPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)933 .addGap(0, 0, Short.MAX_VALUE)934 );935 936 incidentNumberPanel3.setOpaque(false);937 938 javax.swing.GroupLayout incidentNumberPanel3Layout = new javax.swing.GroupLayout(incidentNumberPanel3);939 incidentNumberPanel3.setLayout(incidentNumberPanel3Layout);940 incidentNumberPanel3Layout.setHorizontalGroup(941 incidentNumberPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)942 .addGap(0, 0, Short.MAX_VALUE)943 );944 incidentNumberPanel3Layout.setVerticalGroup(945 incidentNumberPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)946 .addGap(0, 0, Short.MAX_VALUE)947 );948 949 incidentNumberPanel4.setOpaque(false);950 951 javax.swing.GroupLayout incidentNumberPanel4Layout = new javax.swing.GroupLayout(incidentNumberPanel4);952 incidentNumberPanel4.setLayout(incidentNumberPanel4Layout);953 incidentNumberPanel4Layout.setHorizontalGroup(954 incidentNumberPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)955 .addGap(0, 0, Short.MAX_VALUE)956 );957 incidentNumberPanel4Layout.setVerticalGroup(958 incidentNumberPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)959 .addGap(0, 0, Short.MAX_VALUE)960 );961 962 incidentNumberPanel5.setOpaque(false);963 964 javax.swing.GroupLayout incidentNumberPanel5Layout = new javax.swing.GroupLayout(incidentNumberPanel5);965 incidentNumberPanel5.setLayout(incidentNumberPanel5Layout);966 incidentNumberPanel5Layout.setHorizontalGroup(967 incidentNumberPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)968 .addGap(0, 0, Short.MAX_VALUE)969 );970 incidentNumberPanel5Layout.setVerticalGroup(971 incidentNumberPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)972 .addGap(0, 0, Short.MAX_VALUE)973 );974 975 incidentNumberPanel6.setOpaque(false);976 977 javax.swing.GroupLayout incidentNumberPanel6Layout = new javax.swing.GroupLayout(incidentNumberPanel6);978 incidentNumberPanel6.setLayout(incidentNumberPanel6Layout);979 incidentNumberPanel6Layout.setHorizontalGroup(980 incidentNumberPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)981 .addGap(0, 0, Short.MAX_VALUE)982 );983 incidentNumberPanel6Layout.setVerticalGroup(984 incidentNumberPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)985 .addGap(0, 0, Short.MAX_VALUE)986 );987 988 incidentNumberPanel7.setOpaque(false);989 990 javax.swing.GroupLayout incidentNumberPanel7Layout = new javax.swing.GroupLayout(incidentNumberPanel7);991 incidentNumberPanel7.setLayout(incidentNumberPanel7Layout);992 incidentNumberPanel7Layout.setHorizontalGroup(993 incidentNumberPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)994 .addGap(0, 0, Short.MAX_VALUE)995 );996 incidentNumberPanel7Layout.setVerticalGroup(997 incidentNumberPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)998 .addGap(0, 0, Short.MAX_VALUE)999 );1000 1001 incidentNumberPanel8.setOpaque(false);1002 1003 javax.swing.GroupLayout incidentNumberPanel8Layout = new javax.swing.GroupLayout(incidentNumberPanel8);1004 incidentNumberPanel8.setLayout(incidentNumberPanel8Layout);1005 incidentNumberPanel8Layout.setHorizontalGroup(1006 incidentNumberPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)1007 .addGap(0, 0, Short.MAX_VALUE)1008 );1009 incidentNumberPanel8Layout.setVerticalGroup(1010 incidentNumberPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)1011 .addGap(0, 0, Short.MAX_VALUE)1012 );1013 1014 incidentNumberPanel9.setOpaque(false);1015 1016 javax.swing.GroupLayout incidentNumberPanel9Layout = new javax.swing.GroupLayout(incidentNumberPanel9);1017 incidentNumberPanel9.setLayout(incidentNumberPanel9Layout);1018 incidentNumberPanel9Layout.setHorizontalGroup(1019 incidentNumberPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)1020 .addGap(0, 0, Short.MAX_VALUE)1021 );1022 incidentNumberPanel9Layout.setVerticalGroup(1023 incidentNumberPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)1024 .addGap(0, 0, Short.MAX_VALUE)1025 );1026 1027 incidentNumberPanel10.setOpaque(false);1028 1029 javax.swing.GroupLayout incidentNumberPanel10Layout = new javax.swing.GroupLayout(incidentNumberPanel10);1030 incidentNumberPanel10.setLayout(incidentNumberPanel10Layout);1031 incidentNumberPanel10Layout.setHorizontalGroup(1032 incidentNumberPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)1033 .addGap(0, 0, Short.MAX_VALUE)1034 );1035 incidentNumberPanel10Layout.setVerticalGroup(1036 incidentNumberPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)1037 .addGap(0, 0, Short.MAX_VALUE)1038 );1039 1040 746 javax.swing.GroupLayout timelineTickPanelLayout = new javax.swing.GroupLayout(timelineTickPanel); 1041 747 timelineTickPanel.setLayout(timelineTickPanelLayout); … … 1044 750 .addGroup(timelineTickPanelLayout.createSequentialGroup() 1045 751 .addContainerGap() 1046 .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) 1047 .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 1048 .addComponent(incidentNumberPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1049 .addComponent(incidentNumberPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 1050 .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 1051 .addComponent(incidentNumberPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1052 .addComponent(incidentNumberPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1053 .addComponent(incidentNumberPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1054 .addComponent(incidentNumberPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1055 .addComponent(incidentNumberPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1056 .addComponent(incidentNumberPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1057 .addComponent(incidentNumberPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 1058 .addComponent(incidentNumberPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 752 .addComponent(incidentNumberPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1059 753 .addGap(10, 10, 10) 1060 .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 1061 .addComponent(incidentTimelinePanel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 1062 .addComponent(incidentTimelinePanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1063 .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) 1064 .addComponent(incidentTimelinePanel5, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 1065 .addComponent(incidentTimelinePanel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 1066 .addComponent(incidentTimelinePanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1067 .addComponent(incidentTimelinePanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1068 .addComponent(incidentTimelinePanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1069 .addComponent(incidentTimelinePanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1070 .addComponent(incidentTimelinePanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1071 .addComponent(incidentTimelinePanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 1072 .addGap(190, 190, 190)) 754 .addComponent(incidentTimelinePanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 755 .addContainerGap(6487, Short.MAX_VALUE)) 1073 756 ); 1074 757 timelineTickPanelLayout.setVerticalGroup( … … 1079 762 .addComponent(incidentNumberPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1080 763 .addComponent(incidentTimelinePanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 1081 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1082 .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 1083 .addGroup(timelineTickPanelLayout.createSequentialGroup() 1084 .addComponent(incidentNumberPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1085 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1086 .addComponent(incidentNumberPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1087 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1088 .addComponent(incidentNumberPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1089 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1090 .addComponent(incidentNumberPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1091 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1092 .addComponent(incidentNumberPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 1093 .addGroup(timelineTickPanelLayout.createSequentialGroup() 1094 .addComponent(incidentTimelinePanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1095 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1096 .addComponent(incidentTimelinePanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1097 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1098 .addComponent(incidentTimelinePanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1099 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1100 .addComponent(incidentTimelinePanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1101 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1102 .addComponent(incidentTimelinePanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) 1103 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1104 .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 1105 .addComponent(incidentTimelinePanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1106 .addComponent(incidentNumberPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 1107 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1108 .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 1109 .addGroup(timelineTickPanelLayout.createSequentialGroup() 1110 .addComponent(incidentTimelinePanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1111 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1112 .addComponent(incidentTimelinePanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 1113 .addGroup(timelineTickPanelLayout.createSequentialGroup() 1114 .addComponent(incidentNumberPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1115 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1116 .addComponent(incidentNumberPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) 1117 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 1118 .addGroup(timelineTickPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 1119 .addComponent(incidentNumberPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 1120 .addComponent(incidentTimelinePanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 1121 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 764 .addContainerGap(1205, Short.MAX_VALUE)) 1122 765 ); 1123 766 … … 1129 772 zoomSlider.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR)); 1130 773 zoomSlider.setFocusable(false); 1131 zoomSlider.addChangeListener(new javax.swing.event.ChangeListener() 1132 { 1133 public void stateChanged(javax.swing.event.ChangeEvent evt) 1134 { 774 zoomSlider.addChangeListener(new javax.swing.event.ChangeListener() { 775 public void stateChanged(javax.swing.event.ChangeEvent evt) { 1135 776 zoomSliderStateChanged(evt); 1136 777 } … … 1139 780 zoomInIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/ZoomIn.png"))); // NOI18N 1140 781 zoomInIcon.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); 1141 zoomInIcon.addMouseListener(new java.awt.event.MouseAdapter() 1142 { 1143 public void mouseClicked(java.awt.event.MouseEvent evt) 1144 { 782 zoomInIcon.addMouseListener(new java.awt.event.MouseAdapter() { 783 public void mouseClicked(java.awt.event.MouseEvent evt) { 1145 784 zoomInIconMouseClicked(evt); 1146 785 } … … 1149 788 zoomOutIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/ZoomOut.png"))); // NOI18N 1150 789 zoomOutIcon.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); 1151 zoomOutIcon.addMouseListener(new java.awt.event.MouseAdapter() 1152 { 1153 public void mouseClicked(java.awt.event.MouseEvent evt) 1154 { 790 zoomOutIcon.addMouseListener(new java.awt.event.MouseAdapter() { 791 public void mouseClicked(java.awt.event.MouseEvent evt) { 1155 792 zoomOutIconMouseClicked(evt); 1156 793 } … … 1176 813 fileMenu.setText("File"); 1177 814 fileMenu.setMargin(new java.awt.Insets(0, 10, 0, 10)); 1178 fileMenu.addActionListener(new java.awt.event.ActionListener() 1179 { 1180 public void actionPerformed(java.awt.event.ActionEvent evt) 1181 { 815 fileMenu.addActionListener(new java.awt.event.ActionListener() { 816 public void actionPerformed(java.awt.event.ActionEvent evt) { 1182 817 fileMenuActionPerformed(evt); 1183 818 } … … 1186 821 fileNew.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK)); 1187 822 fileNew.setText("New"); 1188 fileNew.addActionListener(new java.awt.event.ActionListener() 1189 { 1190 public void actionPerformed(java.awt.event.ActionEvent evt) 1191 { 823 fileNew.addActionListener(new java.awt.event.ActionListener() { 824 public void actionPerformed(java.awt.event.ActionEvent evt) { 1192 825 fileNewActionPerformed(evt); 1193 826 } … … 1198 831 fileOpen.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK)); 1199 832 fileOpen.setText("Open..."); 1200 fileOpen.addActionListener(new java.awt.event.ActionListener() 1201 { 1202 public void actionPerformed(java.awt.event.ActionEvent evt) 1203 { 833 fileOpen.addActionListener(new java.awt.event.ActionListener() { 834 public void actionPerformed(java.awt.event.ActionEvent evt) { 1204 835 fileOpenActionPerformed(evt); 1205 836 } … … 1210 841 fileSave.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK)); 1211 842 fileSave.setText("Save"); 1212 fileSave.addActionListener(new java.awt.event.ActionListener() 1213 { 1214 public void actionPerformed(java.awt.event.ActionEvent evt) 1215 { 843 fileSave.addActionListener(new java.awt.event.ActionListener() { 844 public void actionPerformed(java.awt.event.ActionEvent evt) { 1216 845 fileSaveActionPerformed(evt); 1217 846 } … … 1221 850 fileSaveAs.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK)); 1222 851 fileSaveAs.setText("Save as..."); 1223 fileSaveAs.addActionListener(new java.awt.event.ActionListener() 1224 { 1225 public void actionPerformed(java.awt.event.ActionEvent evt) 1226 { 852 fileSaveAs.addActionListener(new java.awt.event.ActionListener() { 853 public void actionPerformed(java.awt.event.ActionEvent evt) { 1227 854 fileSaveAsActionPerformed(evt); 1228 855 } … … 1237 864 generateNotebooks.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK)); 1238 865 generateNotebooks.setText("Generate Notebooks..."); 1239 generateNotebooks.addActionListener(new java.awt.event.ActionListener() 1240 { 1241 public void actionPerformed(java.awt.event.ActionEvent evt) 1242 { 866 generateNotebooks.addActionListener(new java.awt.event.ActionListener() { 867 public void actionPerformed(java.awt.event.ActionEvent evt) { 1243 868 generateNotebooksActionPerformed(evt); 1244 869 } … … 1252 877 generateScorecards.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK)); 1253 878 generateScorecards.setText("Generate Scorecards..."); 1254 generateScorecards.addActionListener(new java.awt.event.ActionListener() 1255 { 1256 public void actionPerformed(java.awt.event.ActionEvent evt) 1257 { 879 generateScorecards.addActionListener(new java.awt.event.ActionListener() { 880 public void actionPerformed(java.awt.event.ActionEvent evt) { 1258 881 generateScorecardsActionPerformed(evt); 1259 882 } … … 1263 886 generateOrganizationChart.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK)); 1264 887 generateOrganizationChart.setText("Generate D14 TMC Org Chart..."); 1265 generateOrganizationChart.addActionListener(new java.awt.event.ActionListener() 1266 { 1267 public void actionPerformed(java.awt.event.ActionEvent evt) 1268 { 888 generateOrganizationChart.addActionListener(new java.awt.event.ActionListener() { 889 public void actionPerformed(java.awt.event.ActionEvent evt) { 1269 890 generateOrganizationChartActionPerformed(evt); 1270 891 } … … 1275 896 generateProjectRequirements.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.CTRL_MASK)); 1276 897 generateProjectRequirements.setText("Generate Project Worklist..."); 1277 generateProjectRequirements.addActionListener(new java.awt.event.ActionListener() 1278 { 1279 public void actionPerformed(java.awt.event.ActionEvent evt) 1280 { 898 generateProjectRequirements.addActionListener(new java.awt.event.ActionListener() { 899 public void actionPerformed(java.awt.event.ActionEvent evt) { 1281 900 generateProjectRequirementsActionPerformed(evt); 1282 901 } … … 1290 909 1291 910 newIncident.setText("New Incident..."); 1292 newIncident.addActionListener(new java.awt.event.ActionListener() 1293 { 1294 public void actionPerformed(java.awt.event.ActionEvent evt) 1295 { 911 newIncident.addActionListener(new java.awt.event.ActionListener() { 912 public void actionPerformed(java.awt.event.ActionEvent evt) { 1296 913 newIncidentActionPerformed(evt); 1297 914 } … … 1300 917 1301 918 editIncident.setText("Edit Incident..."); 1302 editIncident.addActionListener(new java.awt.event.ActionListener() 1303 { 1304 public void actionPerformed(java.awt.event.ActionEvent evt) 1305 { 919 editIncident.addActionListener(new java.awt.event.ActionListener() { 920 public void actionPerformed(java.awt.event.ActionEvent evt) { 1306 921 editIncidentActionPerformed(evt); 1307 922 } … … 1310 925 1311 926 incidentDetails.setText("Incident Details..."); 1312 incidentDetails.addActionListener(new java.awt.event.ActionListener() 1313 { 1314 public void actionPerformed(java.awt.event.ActionEvent evt) 1315 { 927 incidentDetails.addActionListener(new java.awt.event.ActionListener() { 928 public void actionPerformed(java.awt.event.ActionEvent evt) { 1316 929 incidentDetailsActionPerformed(evt); 1317 930 } … … 1321 934 1322 935 saveIncident.setText("Save Incident..."); 1323 saveIncident.addActionListener(new java.awt.event.ActionListener() 1324 { 1325 public void actionPerformed(java.awt.event.ActionEvent evt) 1326 { 936 saveIncident.addActionListener(new java.awt.event.ActionListener() { 937 public void actionPerformed(java.awt.event.ActionEvent evt) { 1327 938 saveIncidentActionPerformed(evt); 1328 939 } … … 1331 942 1332 943 loadIncident.setText("Load Incident..."); 1333 loadIncident.addActionListener(new java.awt.event.ActionListener() 1334 { 1335 public void actionPerformed(java.awt.event.ActionEvent evt) 1336 { 944 loadIncident.addActionListener(new java.awt.event.ActionListener() { 945 public void actionPerformed(java.awt.event.ActionEvent evt) { 1337 946 loadIncidentActionPerformed(evt); 1338 947 } … … 1345 954 1346 955 generateNoiseOption.setText("Generate Noise..."); 1347 generateNoiseOption.addActionListener(new java.awt.event.ActionListener() 1348 { 1349 public void actionPerformed(java.awt.event.ActionEvent evt) 1350 { 956 generateNoiseOption.addActionListener(new java.awt.event.ActionListener() { 957 public void actionPerformed(java.awt.event.ActionEvent evt) { 1351 958 generateNoiseOptionActionPerformed(evt); 1352 959 } … … 1364 971 1365 972 helpAbout.setText("About..."); 1366 helpAbout.addActionListener(new java.awt.event.ActionListener() 1367 { 1368 public void actionPerformed(java.awt.event.ActionEvent evt) 1369 { 973 helpAbout.addActionListener(new java.awt.event.ActionListener() { 974 public void actionPerformed(java.awt.event.ActionEvent evt) { 1370 975 helpAboutActionPerformed(evt); 1371 976 } … … 1798 1403 1799 1404 private void loadIncidentActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_loadIncidentActionPerformed 1800 new IncidentPaletteFrame(script, this).setVisible(true); 1405 // new IncidentPaletteFrame(script, this).setVisible(true); 1406 JOptionPane.showMessageDialog(this, "Incident Palette will appear here", "Message", JOptionPane.INFORMATION_MESSAGE); 1801 1407 zoomSlider.setValue(zoomSlider.getMinimum()); 1802 1408 }//GEN-LAST:event_loadIncidentActionPerformed … … 1925 1531 if (inc != null) 1926 1532 { 1927 IncidentEditorFrame editor = new IncidentEditorFrame(inc );1533 IncidentEditorFrame editor = new IncidentEditorFrame(inc, null); 1928 1534 script.addObserver(editor); 1929 1535 editor.setVisible(true); … … 2008 1614 } 2009 1615 2010 java.awt.EventQueue.invokeLater( 2011 new Runnable() 1616 java.awt.EventQueue.invokeLater(new Runnable() 2012 1617 { 2013 1618 public void run() 2014 1619 { 2015 new Script BuilderFrame().setVisible(true);1620 new ScriptOverviewWindow().setVisible(true); 2016 1621 } 2017 1622 }); … … 2054 1659 private javax.swing.JMenu incidentMenu; 2055 1660 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel1; 2056 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel10;2057 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel2;2058 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel3;2059 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel4;2060 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel5;2061 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel6;2062 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel7;2063 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel8;2064 private scriptbuilder.gui.panels.IncidentNumberPanel incidentNumberPanel9;2065 1661 private javax.swing.JButton incidentOkButton; 2066 1662 private javax.swing.JPopupMenu incidentPopupMenu; 2067 1663 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel1; 2068 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel10;2069 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel2;2070 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel3;2071 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel4;2072 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel5;2073 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel6;2074 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel7;2075 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel8;2076 private scriptbuilder.gui.panels.IncidentTimelinePanel incidentTimelinePanel9;2077 1664 private javax.swing.JButton jButton1; 2078 1665 private javax.swing.JButton jButton2;
Note: See TracChangeset
for help on using the changeset viewer.
