Changeset 104 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui


Ignore:
Timestamp:
09/05/2017 11:38:54 AM (9 years ago)
Author:
jdalbey
Message:

IncidentEditor?: Changed text in title bar from "Script Builder" to "Incident Editor"

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

Legend:

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

    r98 r104  
    417417  <Properties> 
    418418    <Property name="defaultCloseOperation" type="int" value="2"/> 
    419     <Property name="title" type="java.lang.String" value="Script Builder"/> 
     419    <Property name="title" type="java.lang.String" value="Incident Editor"/> 
    420420    <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> 
    421421      <Color id="Default Cursor"/> 
  • trunk/src/scriptbuilder/gui/IncidentEditorFrame.java

    r103 r104  
    385385    @SuppressWarnings("unchecked") 
    386386    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 
    387     private void initComponents() 
    388     { 
     387    private void initComponents() { 
    389388 
    390389        eventPopupMenu = new javax.swing.JPopupMenu(); 
     
    467466 
    468467        cadEvent.setText("CAD Event"); 
    469         cadEvent.addMouseListener(new java.awt.event.MouseAdapter() 
    470         { 
    471             public void mousePressed(java.awt.event.MouseEvent evt) 
    472             { 
     468        cadEvent.addMouseListener(new java.awt.event.MouseAdapter() { 
     469            public void mousePressed(java.awt.event.MouseEvent evt) { 
    473470                cadEventMousePressed(evt); 
    474471            } 
    475             public void mouseReleased(java.awt.event.MouseEvent evt) 
    476             { 
     472            public void mouseReleased(java.awt.event.MouseEvent evt) { 
    477473                cadEventMouseReleased(evt); 
    478474            } 
     
    484480 
    485481        radioEvent.setText("Radio Event"); 
    486         radioEvent.addMouseListener(new java.awt.event.MouseAdapter() 
    487         { 
    488             public void mousePressed(java.awt.event.MouseEvent evt) 
    489             { 
     482        radioEvent.addMouseListener(new java.awt.event.MouseAdapter() { 
     483            public void mousePressed(java.awt.event.MouseEvent evt) { 
    490484                radioEventMousePressed(evt); 
    491485            } 
     
    541535 
    542536        okButton.setText("OK"); 
    543         okButton.addActionListener(new java.awt.event.ActionListener() 
    544         { 
    545             public void actionPerformed(java.awt.event.ActionEvent evt) 
    546             { 
     537        okButton.addActionListener(new java.awt.event.ActionListener() { 
     538            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    547539                okButtonActionPerformed(evt); 
    548540            } 
     
    550542 
    551543        cancelButton.setText("Cancel"); 
    552         cancelButton.addActionListener(new java.awt.event.ActionListener() 
    553         { 
    554             public void actionPerformed(java.awt.event.ActionEvent evt) 
    555             { 
     544        cancelButton.addActionListener(new java.awt.event.ActionListener() { 
     545            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    556546                cancelButtonActionPerformed(evt); 
    557547            } 
     
    596586 
    597587        editEventList.setText("Edit..."); 
    598         editEventList.addActionListener(new java.awt.event.ActionListener() 
    599         { 
    600             public void actionPerformed(java.awt.event.ActionEvent evt) 
    601             { 
     588        editEventList.addActionListener(new java.awt.event.ActionListener() { 
     589            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    602590                editEventListActionPerformed(evt); 
    603591            } 
     
    641629 
    642630        jButton1.setText("Cancel"); 
    643         jButton1.addActionListener(new java.awt.event.ActionListener() 
    644         { 
    645             public void actionPerformed(java.awt.event.ActionEvent evt) 
    646             { 
     631        jButton1.addActionListener(new java.awt.event.ActionListener() { 
     632            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    647633                jButton1ActionPerformed(evt); 
    648634            } 
     
    650636 
    651637        jButton2.setText("Generate"); 
    652         jButton2.addActionListener(new java.awt.event.ActionListener() 
    653         { 
    654             public void actionPerformed(java.awt.event.ActionEvent evt) 
    655             { 
     638        jButton2.addActionListener(new java.awt.event.ActionListener() { 
     639            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    656640                jButton2ActionPerformed(evt); 
    657641            } 
     
    733717 
    734718        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); 
    735         setTitle("Script Builder"); 
     719        setTitle("Incident Editor"); 
    736720        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR)); 
    737721        setMinimumSize(new java.awt.Dimension(800, 700)); 
     
    828812        zoomSlider.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR)); 
    829813        zoomSlider.setFocusable(false); 
    830         zoomSlider.addChangeListener(new javax.swing.event.ChangeListener() 
    831         { 
    832             public void stateChanged(javax.swing.event.ChangeEvent evt) 
    833             { 
     814        zoomSlider.addChangeListener(new javax.swing.event.ChangeListener() { 
     815            public void stateChanged(javax.swing.event.ChangeEvent evt) { 
    834816                zoomSliderStateChanged(evt); 
    835817            } 
     
    901883        selectButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    902884        selectButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    903         selectButton.addActionListener(new java.awt.event.ActionListener() 
    904         { 
    905             public void actionPerformed(java.awt.event.ActionEvent evt) 
    906             { 
     885        selectButton.addActionListener(new java.awt.event.ActionListener() { 
     886            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    907887                selectButtonActionPerformed(evt); 
    908888            } 
     
    917897        maintenanceRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    918898        maintenanceRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    919         maintenanceRadioButton.addActionListener(new java.awt.event.ActionListener() 
    920         { 
    921             public void actionPerformed(java.awt.event.ActionEvent evt) 
    922             { 
     899        maintenanceRadioButton.addActionListener(new java.awt.event.ActionListener() { 
     900            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    923901                maintenanceRadioButtonActionPerformed(evt); 
    924902            } 
     
    931909        tmtRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    932910        tmtRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    933         tmtRadioButton.addActionListener(new java.awt.event.ActionListener() 
    934         { 
    935             public void actionPerformed(java.awt.event.ActionEvent evt) 
    936             { 
     911        tmtRadioButton.addActionListener(new java.awt.event.ActionListener() { 
     912            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    937913                tmtRadioButtonActionPerformed(evt); 
    938914            } 
     
    945921        telephoneButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    946922        telephoneButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    947         telephoneButton.addActionListener(new java.awt.event.ActionListener() 
    948         { 
    949             public void actionPerformed(java.awt.event.ActionEvent evt) 
    950             { 
     923        telephoneButton.addActionListener(new java.awt.event.ActionListener() { 
     924            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    951925                telephoneButtonActionPerformed(evt); 
    952926            } 
     
    959933        unitButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    960934        unitButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    961         unitButton.addActionListener(new java.awt.event.ActionListener() 
    962         { 
    963             public void actionPerformed(java.awt.event.ActionEvent evt) 
    964             { 
     935        unitButton.addActionListener(new java.awt.event.ActionListener() { 
     936            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    965937                unitButtonActionPerformed(evt); 
    966938            } 
     
    973945        witnessButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    974946        witnessButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    975         witnessButton.addActionListener(new java.awt.event.ActionListener() 
    976         { 
    977             public void actionPerformed(java.awt.event.ActionEvent evt) 
    978             { 
     947        witnessButton.addActionListener(new java.awt.event.ActionListener() { 
     948            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    979949                witnessButtonActionPerformed(evt); 
    980950            } 
     
    987957        paramicsButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    988958        paramicsButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    989         paramicsButton.addActionListener(new java.awt.event.ActionListener() 
    990         { 
    991             public void actionPerformed(java.awt.event.ActionEvent evt) 
    992             { 
     959        paramicsButton.addActionListener(new java.awt.event.ActionListener() { 
     960            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    993961                paramicsButtonActionPerformed(evt); 
    994962            } 
     
    1001969        towButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1002970        towButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1003         towButton.addActionListener(new java.awt.event.ActionListener() 
    1004         { 
    1005             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1006             { 
     971        towButton.addActionListener(new java.awt.event.ActionListener() { 
     972            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    1007973                towButtonActionPerformed(evt); 
    1008974            } 
     
    1015981        audioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1016982        audioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1017         audioButton.addActionListener(new java.awt.event.ActionListener() 
    1018         { 
    1019             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1020             { 
     983        audioButton.addActionListener(new java.awt.event.ActionListener() { 
     984            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    1021985                audioButtonActionPerformed(evt); 
    1022986            } 
     
    1029993        cctvButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1030994        cctvButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1031         cctvButton.addActionListener(new java.awt.event.ActionListener() 
    1032         { 
    1033             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1034             { 
     995        cctvButton.addActionListener(new java.awt.event.ActionListener() { 
     996            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    1035997                cctvButtonActionPerformed(evt); 
    1036998            } 
     
    10431005        cadButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    10441006        cadButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1045         cadButton.addActionListener(new java.awt.event.ActionListener() 
    1046         { 
    1047             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1048             { 
     1007        cadButton.addActionListener(new java.awt.event.ActionListener() { 
     1008            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    10491009                cadButtonActionPerformed(evt); 
    10501010            } 
     
    10571017        chpRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    10581018        chpRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1059         chpRadioButton.addActionListener(new java.awt.event.ActionListener() 
    1060         { 
    1061             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1062             { 
     1019        chpRadioButton.addActionListener(new java.awt.event.ActionListener() { 
     1020            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    10631021                chpRadioButtonActionPerformed(evt); 
    10641022            } 
     
    11291087        atmsEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    11301088        atmsEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1131         atmsEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1132         { 
    1133             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1134             { 
     1089        atmsEvalButton.addActionListener(new java.awt.event.ActionListener() { 
     1090            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    11351091                atmsEvalButtonActionPerformed(evt); 
    11361092            } 
     
    11431099        cmsEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    11441100        cmsEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1145         cmsEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1146         { 
    1147             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1148             { 
     1101        cmsEvalButton.addActionListener(new java.awt.event.ActionListener() { 
     1102            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    11491103                cmsEvalButtonActionPerformed(evt); 
    11501104            } 
     
    11571111        cadEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    11581112        cadEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1159         cadEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1160         { 
    1161             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1162             { 
     1113        cadEvalButton.addActionListener(new java.awt.event.ActionListener() { 
     1114            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    11631115                cadEvalButtonActionPerformed(evt); 
    11641116            } 
     
    11711123        facilitatorEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    11721124        facilitatorEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1173         facilitatorEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1174         { 
    1175             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1176             { 
     1125        facilitatorEvalButton.addActionListener(new java.awt.event.ActionListener() { 
     1126            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    11771127                facilitatorEvalButtonActionPerformed(evt); 
    11781128            } 
     
    11851135        activityLogEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    11861136        activityLogEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1187         activityLogEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1188         { 
    1189             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1190             { 
     1137        activityLogEvalButton.addActionListener(new java.awt.event.ActionListener() { 
     1138            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    11911139                activityLogEvalButtonActionPerformed(evt); 
    11921140            } 
     
    11991147        radioEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    12001148        radioEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1201         radioEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1202         { 
    1203             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1204             { 
     1149        radioEvalButton.addActionListener(new java.awt.event.ActionListener() { 
     1150            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    12051151                radioEvalButtonActionPerformed(evt); 
    12061152            } 
     
    12461192        zoomInIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/ZoomIn.png"))); // NOI18N 
    12471193        zoomInIcon.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); 
    1248         zoomInIcon.addMouseListener(new java.awt.event.MouseAdapter() 
    1249         { 
    1250             public void mouseClicked(java.awt.event.MouseEvent evt) 
    1251             { 
     1194        zoomInIcon.addMouseListener(new java.awt.event.MouseAdapter() { 
     1195            public void mouseClicked(java.awt.event.MouseEvent evt) { 
    12521196                zoomInIconMouseClicked(evt); 
    12531197            } 
     
    12561200        zoomOutIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/ZoomOut.png"))); // NOI18N 
    12571201        zoomOutIcon.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); 
    1258         zoomOutIcon.addMouseListener(new java.awt.event.MouseAdapter() 
    1259         { 
    1260             public void mouseClicked(java.awt.event.MouseEvent evt) 
    1261             { 
     1202        zoomOutIcon.addMouseListener(new java.awt.event.MouseAdapter() { 
     1203            public void mouseClicked(java.awt.event.MouseEvent evt) { 
    12621204                zoomOutIconMouseClicked(evt); 
    12631205            } 
     
    12821224 
    12831225        btnAddTime.setText("+15:00"); 
    1284         btnAddTime.addActionListener(new java.awt.event.ActionListener() 
    1285         { 
    1286             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1287             { 
     1226        btnAddTime.addActionListener(new java.awt.event.ActionListener() { 
     1227            public void actionPerformed(java.awt.event.ActionEvent evt) { 
    12881228                btnAddTimeActionPerformed(evt); 
    12891229            } 
Note: See TracChangeset for help on using the changeset viewer.