Changeset 184 in tmcsimulator-scriptbuilder


Ignore:
Timestamp:
01/12/2020 04:01:21 PM (6 years ago)
Author:
jdalbey
Message:

Incident Editor Frame: Rearrange event buttons and panels into more meaningful groupings.

Location:
trunk/src/scriptbuilder/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/IncidentEditorFrame.form

    r160 r184  
    448448              <Group type="103" groupAlignment="0" attributes="0"> 
    449449                  <Group type="102" alignment="0" attributes="0"> 
    450                       <EmptySpace min="-2" pref="46" max="-2" attributes="0"/> 
    451450                      <Component id="incidentEventsPanel" min="-2" max="-2" attributes="0"/> 
    452451                      <EmptySpace max="-2" attributes="0"/> 
     452                      <Component id="jPanel1" min="-2" max="-2" attributes="0"/> 
     453                      <EmptySpace max="-2" attributes="0"/> 
    453454                      <Component id="evaluationEventsPanel" min="-2" max="-2" attributes="0"/> 
    454                       <EmptySpace min="-2" max="-2" attributes="0"/> 
     455                      <EmptySpace type="separate" max="-2" attributes="0"/> 
    455456                      <Group type="103" groupAlignment="0" attributes="0"> 
    456457                          <Component id="zoomInIcon" alignment="0" min="-2" max="-2" attributes="0"/> 
     
    462463                  </Group> 
    463464                  <Component id="timelinesScrollPane" alignment="0" min="0" pref="0" max="32767" attributes="1"/> 
    464                   <Component id="timeStampScrollPane" alignment="0" pref="0" max="32767" attributes="0"/> 
     465                  <Component id="timeStampScrollPane" alignment="0" max="32767" attributes="0"/> 
    465466                  <Group type="102" alignment="1" attributes="0"> 
    466467                      <Component id="incidentInformationPanel" max="32767" attributes="0"/> 
     
    468469                      <Component id="scriptEventsPanel" max="32767" attributes="0"/> 
    469470                  </Group> 
    470                   <Component id="timeStampScrollPane1" alignment="0" pref="0" max="32767" attributes="0"/> 
     471                  <Component id="timeStampScrollPane1" alignment="0" max="32767" attributes="0"/> 
    471472              </Group> 
    472473              <EmptySpace max="-2" attributes="0"/> 
     
    477478      <Group type="103" groupAlignment="0" attributes="0"> 
    478479          <Group type="102" alignment="1" attributes="0"> 
    479               <Group type="103" groupAlignment="0" max="-2" attributes="0"> 
     480              <Group type="103" groupAlignment="0" attributes="0"> 
    480481                  <Group type="102" attributes="0"> 
    481482                      <EmptySpace max="-2" attributes="0"/> 
     
    483484                          <Component id="evaluationEventsPanel" alignment="0" min="-2" max="-2" attributes="1"/> 
    484485                          <Component id="incidentEventsPanel" alignment="0" min="-2" max="-2" attributes="1"/> 
     486                          <Component id="jPanel1" alignment="0" min="-2" max="-2" attributes="0"/> 
    485487                      </Group> 
    486488                  </Group> 
     
    499501                  </Group> 
    500502              </Group> 
    501               <EmptySpace min="-2" max="-2" attributes="0"/> 
     503              <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> 
    502504              <Component id="timeStampScrollPane" min="-2" pref="20" max="-2" attributes="0"/> 
    503505              <EmptySpace min="-2" max="-2" attributes="0"/> 
     
    807809        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> 
    808810          <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo"> 
    809             <TitledBorder title="Incident Events"/> 
     811            <TitledBorder title="Automated Events"/> 
    810812          </Border> 
    811813        </Property> 
     
    816818          <Group type="103" groupAlignment="0" attributes="0"> 
    817819              <Group type="102" alignment="0" attributes="0"> 
    818                   <EmptySpace max="-2" attributes="0"/> 
     820                  <EmptySpace max="32767" attributes="0"/> 
    819821                  <Group type="103" groupAlignment="0" attributes="0"> 
    820                       <Group type="103" alignment="0" groupAlignment="0" attributes="0"> 
    821                           <Group type="102" alignment="1" attributes="0"> 
    822                               <Component id="maintenanceRadioButton" min="-2" pref="120" max="-2" attributes="0"/> 
    823                               <EmptySpace max="-2" attributes="0"/> 
    824                               <Component id="tmtRadioButton" min="-2" pref="120" max="-2" attributes="0"/> 
    825                               <EmptySpace max="-2" attributes="0"/> 
    826                               <Component id="telephoneButton" min="-2" pref="120" max="-2" attributes="0"/> 
    827                               <EmptySpace max="-2" attributes="0"/> 
    828                               <Component id="paramicsButton" min="-2" pref="120" max="-2" attributes="0"/> 
    829                           </Group> 
    830                           <Group type="102" alignment="0" attributes="0"> 
    831                               <Component id="towButton" min="-2" pref="120" max="-2" attributes="0"/> 
    832                               <EmptySpace max="-2" attributes="0"/> 
    833                               <Component id="unitButton" min="-2" pref="120" max="-2" attributes="0"/> 
    834                               <EmptySpace max="-2" attributes="0"/> 
    835                               <Component id="witnessButton" min="-2" pref="120" max="-2" attributes="0"/> 
    836                           </Group> 
    837                       </Group> 
    838822                      <Group type="102" alignment="0" attributes="0"> 
    839823                          <Component id="cadButton" min="-2" pref="120" max="-2" attributes="0"/> 
     
    843827                          <Component id="chpRadioButton" min="-2" pref="120" max="-2" attributes="0"/> 
    844828                      </Group> 
    845                   </Group> 
    846                   <EmptySpace max="32767" attributes="0"/> 
     829                      <Group type="102" alignment="0" attributes="0"> 
     830                          <Component id="towButton" min="-2" pref="120" max="-2" attributes="0"/> 
     831                          <EmptySpace max="-2" attributes="0"/> 
     832                          <Component id="unitButton" min="-2" pref="120" max="-2" attributes="0"/> 
     833                          <EmptySpace max="-2" attributes="0"/> 
     834                          <Component id="witnessButton" min="-2" pref="120" max="-2" attributes="0"/> 
     835                      </Group> 
     836                      <Group type="102" alignment="0" attributes="0"> 
     837                          <EmptySpace min="-2" pref="126" max="-2" attributes="0"/> 
     838                          <Component id="paramicsButton" min="-2" pref="120" max="-2" attributes="0"/> 
     839                      </Group> 
     840                  </Group> 
     841                  <EmptySpace min="-2" pref="6" max="-2" attributes="0"/> 
    847842              </Group> 
    848843          </Group> 
     
    851846          <Group type="103" groupAlignment="0" attributes="0"> 
    852847              <Group type="102" alignment="0" attributes="0"> 
    853                   <Group type="103" groupAlignment="0" attributes="0"> 
    854                       <Group type="102" attributes="0"> 
    855                           <Group type="103" groupAlignment="3" attributes="0"> 
    856                               <Component id="maintenanceRadioButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    857                               <Component id="tmtRadioButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    858                               <Component id="telephoneButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    859                           </Group> 
    860                           <EmptySpace max="-2" attributes="0"/> 
    861                           <Group type="103" groupAlignment="3" attributes="0"> 
    862                               <Component id="towButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    863                               <Component id="unitButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    864                               <Component id="witnessButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    865                           </Group> 
    866                       </Group> 
    867                       <Component id="paramicsButton" min="-2" pref="30" max="-2" attributes="0"/> 
    868                   </Group> 
    869                   <EmptySpace max="-2" attributes="0"/> 
    870                   <Group type="103" groupAlignment="1" attributes="0"> 
    871                       <Group type="103" alignment="1" groupAlignment="3" attributes="0"> 
    872                           <Component id="cctvButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    873                           <Component id="chpRadioButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    874                       </Group> 
    875                       <Component id="cadButton" min="-2" pref="30" max="-2" attributes="0"/> 
    876                   </Group> 
     848                  <Group type="103" groupAlignment="3" attributes="0"> 
     849                      <Component id="cadButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     850                      <Component id="cctvButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     851                      <Component id="chpRadioButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     852                  </Group> 
     853                  <EmptySpace max="-2" attributes="0"/> 
     854                  <Group type="103" groupAlignment="3" attributes="0"> 
     855                      <Component id="towButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     856                      <Component id="unitButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     857                      <Component id="witnessButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     858                  </Group> 
     859                  <EmptySpace max="-2" attributes="0"/> 
     860                  <Component id="paramicsButton" min="-2" pref="30" max="-2" attributes="0"/> 
    877861              </Group> 
    878862          </Group> 
     
    880864      </Layout> 
    881865      <SubComponents> 
    882         <Component class="javax.swing.JButton" name="maintenanceRadioButton"> 
    883           <Properties> 
    884             <Property name="text" type="java.lang.String" value="Maintenance Radio"/> 
    885             <Property name="toolTipText" type="java.lang.String" value=""/> 
    886             <Property name="focusPainted" type="boolean" value="false"/> 
    887             <Property name="iconTextGap" type="int" value="0"/> 
    888             <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
    889               <Insets value="[2, 10, 2, 10]"/> 
    890             </Property> 
    891             <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
    892               <Dimension value="[30, 25]"/> 
    893             </Property> 
    894           </Properties> 
    895           <Events> 
    896             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="maintenanceRadioButtonActionPerformed"/> 
    897           </Events> 
    898         </Component> 
    899         <Component class="javax.swing.JButton" name="tmtRadioButton"> 
    900           <Properties> 
    901             <Property name="text" type="java.lang.String" value="TMT Radio"/> 
    902             <Property name="toolTipText" type="java.lang.String" value=""/> 
    903             <Property name="focusPainted" type="boolean" value="false"/> 
    904             <Property name="iconTextGap" type="int" value="0"/> 
    905             <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
    906               <Insets value="[2, 10, 2, 10]"/> 
    907             </Property> 
    908             <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
    909               <Dimension value="[30, 25]"/> 
    910             </Property> 
    911           </Properties> 
    912           <Events> 
    913             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="tmtRadioButtonActionPerformed"/> 
    914           </Events> 
    915         </Component> 
    916         <Component class="javax.swing.JButton" name="telephoneButton"> 
    917           <Properties> 
    918             <Property name="text" type="java.lang.String" value="Telephone"/> 
    919             <Property name="toolTipText" type="java.lang.String" value=""/> 
    920             <Property name="focusPainted" type="boolean" value="false"/> 
    921             <Property name="iconTextGap" type="int" value="0"/> 
    922             <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
    923               <Insets value="[2, 10, 2, 10]"/> 
    924             </Property> 
    925             <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
    926               <Dimension value="[30, 25]"/> 
    927             </Property> 
    928           </Properties> 
    929           <Events> 
    930             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="telephoneButtonActionPerformed"/> 
    931           </Events> 
    932         </Component> 
    933866        <Component class="javax.swing.JButton" name="unitButton"> 
    934867          <Properties> 
     
    1066999              <Group type="102" attributes="0"> 
    10671000                  <EmptySpace max="-2" attributes="0"/> 
    1068                   <Group type="103" groupAlignment="0" attributes="0"> 
     1001                  <Group type="103" groupAlignment="0" max="-2" attributes="0"> 
    10691002                      <Group type="102" alignment="0" attributes="0"> 
    10701003                          <Component id="atmsEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
    10711004                          <EmptySpace max="-2" attributes="0"/> 
    1072                           <Component id="activityLogEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
     1005                          <Component id="activityLogEvalButton" max="32767" attributes="0"/> 
    10731006                      </Group> 
    10741007                      <Group type="102" alignment="0" attributes="0"> 
    10751008                          <Component id="cmsEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
    10761009                          <EmptySpace max="-2" attributes="0"/> 
    1077                           <Component id="facilitatorEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
     1010                          <Component id="facilitatorEvalButton" min="-2" pref="159" max="-2" attributes="0"/> 
    10781011                      </Group> 
    10791012                      <Group type="102" alignment="0" attributes="0"> 
    10801013                          <Component id="cadEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
    10811014                          <EmptySpace max="-2" attributes="0"/> 
    1082                           <Component id="radioEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
     1015                          <Component id="radioEvalButton" max="32767" attributes="0"/> 
    10831016                      </Group> 
    10841017                  </Group> 
     
    13511284      </SubComponents> 
    13521285    </Container> 
     1286    <Container class="javax.swing.JPanel" name="jPanel1"> 
     1287      <Properties> 
     1288        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> 
     1289          <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo"> 
     1290            <TitledBorder title="Instructor Actions"/> 
     1291          </Border> 
     1292        </Property> 
     1293      </Properties> 
     1294 
     1295      <Layout> 
     1296        <DimensionLayout dim="0"> 
     1297          <Group type="103" groupAlignment="0" attributes="0"> 
     1298              <Group type="102" alignment="1" attributes="0"> 
     1299                  <EmptySpace max="-2" attributes="0"/> 
     1300                  <Group type="103" groupAlignment="1" attributes="0"> 
     1301                      <Component id="maintenanceRadioButton" pref="146" max="32767" attributes="0"/> 
     1302                      <Component id="tmtRadioButton" max="32767" attributes="0"/> 
     1303                      <Component id="telephoneButton" alignment="1" max="32767" attributes="0"/> 
     1304                  </Group> 
     1305                  <EmptySpace max="-2" attributes="0"/> 
     1306              </Group> 
     1307          </Group> 
     1308        </DimensionLayout> 
     1309        <DimensionLayout dim="1"> 
     1310          <Group type="103" groupAlignment="0" attributes="0"> 
     1311              <Group type="102" alignment="0" attributes="0"> 
     1312                  <Component id="telephoneButton" min="-2" pref="30" max="-2" attributes="0"/> 
     1313                  <EmptySpace max="-2" attributes="0"/> 
     1314                  <Component id="tmtRadioButton" min="-2" pref="30" max="-2" attributes="0"/> 
     1315                  <EmptySpace max="32767" attributes="0"/> 
     1316                  <Component id="maintenanceRadioButton" min="-2" pref="30" max="-2" attributes="0"/> 
     1317              </Group> 
     1318          </Group> 
     1319        </DimensionLayout> 
     1320      </Layout> 
     1321      <SubComponents> 
     1322        <Component class="javax.swing.JButton" name="telephoneButton"> 
     1323          <Properties> 
     1324            <Property name="text" type="java.lang.String" value="Telephone"/> 
     1325            <Property name="toolTipText" type="java.lang.String" value=""/> 
     1326            <Property name="focusPainted" type="boolean" value="false"/> 
     1327            <Property name="iconTextGap" type="int" value="0"/> 
     1328            <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
     1329              <Insets value="[2, 10, 2, 10]"/> 
     1330            </Property> 
     1331            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
     1332              <Dimension value="[30, 25]"/> 
     1333            </Property> 
     1334          </Properties> 
     1335          <Events> 
     1336            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="telephoneButtonActionPerformed"/> 
     1337          </Events> 
     1338        </Component> 
     1339        <Component class="javax.swing.JButton" name="tmtRadioButton"> 
     1340          <Properties> 
     1341            <Property name="text" type="java.lang.String" value="TMT Radio"/> 
     1342            <Property name="toolTipText" type="java.lang.String" value=""/> 
     1343            <Property name="focusPainted" type="boolean" value="false"/> 
     1344            <Property name="iconTextGap" type="int" value="0"/> 
     1345            <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
     1346              <Insets value="[2, 10, 2, 10]"/> 
     1347            </Property> 
     1348            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
     1349              <Dimension value="[30, 25]"/> 
     1350            </Property> 
     1351          </Properties> 
     1352          <Events> 
     1353            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="tmtRadioButtonActionPerformed"/> 
     1354          </Events> 
     1355        </Component> 
     1356        <Component class="javax.swing.JButton" name="maintenanceRadioButton"> 
     1357          <Properties> 
     1358            <Property name="text" type="java.lang.String" value="Maintenance Radio"/> 
     1359            <Property name="toolTipText" type="java.lang.String" value=""/> 
     1360            <Property name="focusPainted" type="boolean" value="false"/> 
     1361            <Property name="iconTextGap" type="int" value="0"/> 
     1362            <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
     1363              <Insets value="[2, 10, 2, 10]"/> 
     1364            </Property> 
     1365            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
     1366              <Dimension value="[30, 25]"/> 
     1367            </Property> 
     1368          </Properties> 
     1369          <Events> 
     1370            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="maintenanceRadioButtonActionPerformed"/> 
     1371          </Events> 
     1372        </Component> 
     1373      </SubComponents> 
     1374    </Container> 
    13531375  </SubComponents> 
    13541376</Form> 
  • trunk/src/scriptbuilder/gui/IncidentEditorFrame.java

    r160 r184  
    482482        incidentNumber = new javax.swing.JTextField(); 
    483483        incidentEventsPanel = new javax.swing.JPanel(); 
    484         maintenanceRadioButton = new javax.swing.JButton(); 
    485         tmtRadioButton = new javax.swing.JButton(); 
    486         telephoneButton = new javax.swing.JButton(); 
    487484        unitButton = new javax.swing.JButton(); 
    488485        witnessButton = new javax.swing.JButton(); 
     
    509506        btnToggleTimeStart = new javax.swing.JRadioButton(); 
    510507        btnToggleTimeEnd = new javax.swing.JRadioButton(); 
     508        jPanel1 = new javax.swing.JPanel(); 
     509        telephoneButton = new javax.swing.JButton(); 
     510        tmtRadioButton = new javax.swing.JButton(); 
     511        maintenanceRadioButton = new javax.swing.JButton(); 
    511512 
    512513        cadEvent.setText("CAD Event"); 
     
    929930        ); 
    930931 
    931         incidentEventsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Incident Events")); 
    932  
    933         maintenanceRadioButton.setText("Maintenance Radio"); 
    934         maintenanceRadioButton.setToolTipText(""); 
    935         maintenanceRadioButton.setFocusPainted(false); 
    936         maintenanceRadioButton.setIconTextGap(0); 
    937         maintenanceRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    938         maintenanceRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    939         maintenanceRadioButton.addActionListener(new java.awt.event.ActionListener() { 
    940             public void actionPerformed(java.awt.event.ActionEvent evt) { 
    941                 maintenanceRadioButtonActionPerformed(evt); 
    942             } 
    943         }); 
    944  
    945         tmtRadioButton.setText("TMT Radio"); 
    946         tmtRadioButton.setToolTipText(""); 
    947         tmtRadioButton.setFocusPainted(false); 
    948         tmtRadioButton.setIconTextGap(0); 
    949         tmtRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    950         tmtRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    951         tmtRadioButton.addActionListener(new java.awt.event.ActionListener() { 
    952             public void actionPerformed(java.awt.event.ActionEvent evt) { 
    953                 tmtRadioButtonActionPerformed(evt); 
    954             } 
    955         }); 
    956  
    957         telephoneButton.setText("Telephone"); 
    958         telephoneButton.setToolTipText(""); 
    959         telephoneButton.setFocusPainted(false); 
    960         telephoneButton.setIconTextGap(0); 
    961         telephoneButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    962         telephoneButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    963         telephoneButton.addActionListener(new java.awt.event.ActionListener() { 
    964             public void actionPerformed(java.awt.event.ActionEvent evt) { 
    965                 telephoneButtonActionPerformed(evt); 
    966             } 
    967         }); 
     932        incidentEventsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Automated Events")); 
    968933 
    969934        unitButton.setText("Unit"); 
     
    10561021            incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    10571022            .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    1058                 .addContainerGap() 
     1023                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 
    10591024                .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1060                     .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1061                         .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, incidentEventsPanelLayout.createSequentialGroup() 
    1062                             .addComponent(maintenanceRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1063                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1064                             .addComponent(tmtRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1065                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1066                             .addComponent(telephoneButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1067                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1068                             .addComponent(paramicsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1069                         .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    1070                             .addComponent(towButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1071                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1072                             .addComponent(unitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1073                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1074                             .addComponent(witnessButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    10751025                    .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    10761026                        .addComponent(cadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
     
    10781028                        .addComponent(cctvButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    10791029                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1080                         .addComponent(chpRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    1081                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 
     1030                        .addComponent(chpRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)) 
     1031                    .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
     1032                        .addComponent(towButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1033                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     1034                        .addComponent(unitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1035                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     1036                        .addComponent(witnessButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)) 
     1037                    .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
     1038                        .addGap(126, 126, 126) 
     1039                        .addComponent(paramicsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))) 
     1040                .addGap(6, 6, 6)) 
    10821041        ); 
    10831042        incidentEventsPanelLayout.setVerticalGroup( 
    10841043            incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    10851044            .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    1086                 .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1087                     .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    1088                         .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 
    1089                             .addComponent(maintenanceRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1090                             .addComponent(tmtRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1091                             .addComponent(telephoneButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1092                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1093                         .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 
    1094                             .addComponent(towButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1095                             .addComponent(unitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1096                             .addComponent(witnessButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    1097                     .addComponent(paramicsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1098                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1099                 .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) 
    1100                     .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 
    1101                         .addComponent(cctvButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1102                         .addComponent(chpRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1103                     .addComponent(cadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))) 
     1045                .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 
     1046                    .addComponent(cadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1047                    .addComponent(cctvButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1048                    .addComponent(chpRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
     1049                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     1050                .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 
     1051                    .addComponent(towButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1052                    .addComponent(unitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1053                    .addComponent(witnessButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
     1054                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     1055                .addComponent(paramicsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    11041056        ); 
    11051057 
     
    11841136            .addGroup(evaluationEventsPanelLayout.createSequentialGroup() 
    11851137                .addContainerGap() 
    1186                 .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
     1138                .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 
    11871139                    .addGroup(evaluationEventsPanelLayout.createSequentialGroup() 
    11881140                        .addComponent(atmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE) 
    11891141                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1190                         .addComponent(activityLogEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)) 
     1142                        .addComponent(activityLogEvalButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 
    11911143                    .addGroup(evaluationEventsPanelLayout.createSequentialGroup() 
    11921144                        .addComponent(cmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE) 
    11931145                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1194                         .addComponent(facilitatorEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)) 
     1146                        .addComponent(facilitatorEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    11951147                    .addGroup(evaluationEventsPanelLayout.createSequentialGroup() 
    11961148                        .addComponent(cadEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE) 
    11971149                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1198                         .addComponent(radioEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE))) 
     1150                        .addComponent(radioEvalButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) 
    11991151                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 
    12001152        ); 
     
    13091261        ); 
    13101262 
     1263        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Instructor Actions")); 
     1264 
     1265        telephoneButton.setText("Telephone"); 
     1266        telephoneButton.setToolTipText(""); 
     1267        telephoneButton.setFocusPainted(false); 
     1268        telephoneButton.setIconTextGap(0); 
     1269        telephoneButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
     1270        telephoneButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
     1271        telephoneButton.addActionListener(new java.awt.event.ActionListener() { 
     1272            public void actionPerformed(java.awt.event.ActionEvent evt) { 
     1273                telephoneButtonActionPerformed(evt); 
     1274            } 
     1275        }); 
     1276 
     1277        tmtRadioButton.setText("TMT Radio"); 
     1278        tmtRadioButton.setToolTipText(""); 
     1279        tmtRadioButton.setFocusPainted(false); 
     1280        tmtRadioButton.setIconTextGap(0); 
     1281        tmtRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
     1282        tmtRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
     1283        tmtRadioButton.addActionListener(new java.awt.event.ActionListener() { 
     1284            public void actionPerformed(java.awt.event.ActionEvent evt) { 
     1285                tmtRadioButtonActionPerformed(evt); 
     1286            } 
     1287        }); 
     1288 
     1289        maintenanceRadioButton.setText("Maintenance Radio"); 
     1290        maintenanceRadioButton.setToolTipText(""); 
     1291        maintenanceRadioButton.setFocusPainted(false); 
     1292        maintenanceRadioButton.setIconTextGap(0); 
     1293        maintenanceRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
     1294        maintenanceRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
     1295        maintenanceRadioButton.addActionListener(new java.awt.event.ActionListener() { 
     1296            public void actionPerformed(java.awt.event.ActionEvent evt) { 
     1297                maintenanceRadioButtonActionPerformed(evt); 
     1298            } 
     1299        }); 
     1300 
     1301        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); 
     1302        jPanel1.setLayout(jPanel1Layout); 
     1303        jPanel1Layout.setHorizontalGroup( 
     1304            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
     1305            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() 
     1306                .addContainerGap() 
     1307                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) 
     1308                    .addComponent(maintenanceRadioButton, javax.swing.GroupLayout.DEFAULT_SIZE, 146, Short.MAX_VALUE) 
     1309                    .addComponent(tmtRadioButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 
     1310                    .addComponent(telephoneButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 
     1311                .addContainerGap()) 
     1312        ); 
     1313        jPanel1Layout.setVerticalGroup( 
     1314            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
     1315            .addGroup(jPanel1Layout.createSequentialGroup() 
     1316                .addComponent(telephoneButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1317                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     1318                .addComponent(tmtRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1319                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 
     1320                .addComponent(maintenanceRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
     1321        ); 
     1322 
    13111323        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); 
    13121324        getContentPane().setLayout(layout); 
     
    13171329                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    13181330                    .addGroup(layout.createSequentialGroup() 
    1319                         .addGap(46, 46, 46) 
    13201331                        .addComponent(incidentEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
    13211332                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     1333                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1334                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    13221335                        .addComponent(evaluationEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1323                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     1336                        .addGap(18, 18, 18) 
    13241337                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    13251338                            .addComponent(zoomInIcon) 
     
    13291342                        .addComponent(addTimePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    13301343                    .addComponent(timelinesScrollPane, 0, 0, Short.MAX_VALUE) 
    1331                     .addComponent(timeStampScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) 
     1344                    .addComponent(timeStampScrollPane) 
    13321345                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 
    13331346                        .addComponent(incidentInformationPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 
    13341347                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    13351348                        .addComponent(scriptEventsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 
    1336                     .addComponent(timeStampScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)) 
     1349                    .addComponent(timeStampScrollPane1)) 
    13371350                .addContainerGap()) 
    13381351        ); 
     
    13401353            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    13411354            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 
    1342                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 
     1355                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    13431356                    .addGroup(layout.createSequentialGroup() 
    13441357                        .addContainerGap() 
    13451358                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    13461359                            .addComponent(evaluationEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1347                             .addComponent(incidentEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) 
     1360                            .addComponent(incidentEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1361                            .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    13481362                    .addGroup(layout.createSequentialGroup() 
    13491363                        .addGap(9, 9, 9) 
     
    13561370                                .addComponent(zoomOutIcon)) 
    13571371                            .addComponent(addTimePanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) 
    1358                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     1372                .addGap(11, 11, 11) 
    13591373                .addComponent(timeStampScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE) 
    13601374                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
     
    17871801    private javax.swing.JMenuItem jMenuItem5; 
    17881802    private javax.swing.JMenuItem jMenuItem6; 
     1803    private javax.swing.JPanel jPanel1; 
    17891804    private javax.swing.JLabel labelBackgroundNoise; 
    17901805    private javax.swing.JLabel labelLaneClosures; 
Note: See TracChangeset for help on using the changeset viewer.