Changeset 92 in tmcsimulator-scriptbuilder for trunk/src/event


Ignore:
Timestamp:
08/28/2017 04:12:45 PM (9 years ago)
Author:
bmcguffin
Message:

Removed superfluous "Remove" buttons on several panels.

Removed interface "RemovablePanel?" as it was no longer necessary or useful; removed related methods from classes implementing it.

Location:
trunk/src/event/editor
Files:
1 deleted
23 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/event/editor/AudioPanel.form

    r1 r92  
    2020              <EmptySpace max="-2" attributes="0"/> 
    2121              <Group type="103" groupAlignment="0" attributes="0"> 
    22                   <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
     22                  <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 
     23                  <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/> 
     24              </Group> 
     25              <EmptySpace max="-2" attributes="0"/> 
     26              <Group type="103" groupAlignment="0" attributes="0"> 
    2327                  <Group type="102" alignment="0" attributes="0"> 
    24                       <Group type="103" groupAlignment="0" attributes="0"> 
    25                           <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 
    26                           <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/> 
    27                       </Group> 
     28                      <Component id="audioFileText" min="-2" pref="395" max="-2" attributes="0"/> 
    2829                      <EmptySpace max="-2" attributes="0"/> 
    29                       <Group type="103" groupAlignment="0" attributes="0"> 
    30                           <Group type="102" alignment="0" attributes="0"> 
    31                               <Component id="audioFileText" min="-2" pref="395" max="-2" attributes="0"/> 
    32                               <EmptySpace max="-2" attributes="0"/> 
    33                               <Component id="browseButton" pref="93" max="32767" attributes="0"/> 
    34                           </Group> 
    35                           <Component id="audioLengthText" alignment="0" pref="497" max="32767" attributes="0"/> 
    36                       </Group> 
     30                      <Component id="browseButton" pref="93" max="32767" attributes="0"/> 
    3731                  </Group> 
     32                  <Component id="audioLengthText" alignment="0" pref="497" max="32767" attributes="0"/> 
    3833              </Group> 
    3934              <EmptySpace max="-2" attributes="0"/> 
     
    4439      <Group type="103" groupAlignment="0" attributes="0"> 
    4540          <Group type="102" alignment="0" attributes="0"> 
    46               <EmptySpace max="-2" attributes="0"/> 
    47               <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
    48               <EmptySpace max="-2" attributes="0"/> 
     41              <EmptySpace min="-2" pref="41" max="-2" attributes="0"/> 
    4942              <Group type="103" groupAlignment="3" attributes="0"> 
    5043                  <Component id="audioFileText" alignment="3" min="-2" max="-2" attributes="0"/> 
     
    6356  </Layout> 
    6457  <SubComponents> 
    65     <Component class="javax.swing.JButton" name="removeButton"> 
    66       <Properties> 
    67         <Property name="text" type="java.lang.String" value="Remove"/> 
    68         <Property name="toolTipText" type="java.lang.String" value="Removes this property"/> 
    69       </Properties> 
    70       <Events> 
    71         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeThisProperty"/> 
    72         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeButtonActionPerformed"/> 
    73       </Events> 
    74     </Component> 
    7558    <Component class="javax.swing.JLabel" name="jLabel1"> 
    7659      <Properties> 
  • trunk/src/event/editor/AudioPanel.java

    r89 r92  
    1111 * @author nathaniellehrer 
    1212 */ 
    13 public class AudioPanel extends javax.swing.JPanel implements RemoveablePanel, ScriptEventEditorPanel 
     13public class AudioPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1414{ 
    1515 
     
    2626    } 
    2727 
    28     /** 
    29      * Load the script event associated with this editor panel. 
    30      * 
    31      * @param sei The script event in question 
    32      */ 
    3328    @Override 
    3429    public void getEventObject(I_ScriptEvent sei) 
     
    8580    } 
    8681 
    87     public void setRemoveListener(ActionListener listener) 
    88     { 
    89         removeListener = listener; 
    90     } 
    91  
     82    @Override 
    9283    public void update(Observable o, Object arg) 
    9384    { 
     
    113104    { 
    114105 
    115         removeButton = new javax.swing.JButton(); 
    116106        jLabel1 = new javax.swing.JLabel(); 
    117107        audioFileText = new javax.swing.JTextField(); 
     
    119109        audioLengthText = new javax.swing.JFormattedTextField(); 
    120110        browseButton = new javax.swing.JButton(); 
    121  
    122         removeButton.setText("Remove"); 
    123         removeButton.setToolTipText("Removes this property"); 
    124         removeButton.addMouseListener(new java.awt.event.MouseAdapter() 
    125         { 
    126             public void mouseClicked(java.awt.event.MouseEvent evt) 
    127             { 
    128                 removeThisProperty(evt); 
    129             } 
    130         }); 
    131         removeButton.addActionListener(new java.awt.event.ActionListener() 
    132         { 
    133             public void actionPerformed(java.awt.event.ActionEvent evt) 
    134             { 
    135                 removeButtonActionPerformed(evt); 
    136             } 
    137         }); 
    138111 
    139112        jLabel1.setText("Audio File"); 
     
    162135                .addContainerGap() 
    163136                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    164                     .add(org.jdesktop.layout.GroupLayout.TRAILING, removeButton) 
     137                    .add(jLabel1) 
     138                    .add(jLabel2)) 
     139                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 
     140                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    165141                    .add(layout.createSequentialGroup() 
    166                         .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    167                             .add(jLabel1) 
    168                             .add(jLabel2)) 
     142                        .add(audioFileText, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 395, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 
    169143                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 
    170                         .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    171                             .add(layout.createSequentialGroup() 
    172                                 .add(audioFileText, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 395, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 
    173                                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 
    174                                 .add(browseButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 93, Short.MAX_VALUE)) 
    175                             .add(audioLengthText, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 497, Short.MAX_VALUE)))) 
     144                        .add(browseButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 93, Short.MAX_VALUE)) 
     145                    .add(audioLengthText, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 497, Short.MAX_VALUE)) 
    176146                .addContainerGap()) 
    177147        ); 
     
    179149            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    180150            .add(layout.createSequentialGroup() 
    181                 .addContainerGap() 
    182                 .add(removeButton) 
    183                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 
     151                .add(41, 41, 41) 
    184152                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 
    185153                    .add(audioFileText, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 
     
    193161        ); 
    194162    }// </editor-fold>//GEN-END:initComponents 
    195  
    196     private void removeButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_removeButtonActionPerformed 
    197         // TODO add your handling code here: 
    198     }//GEN-LAST:event_removeButtonActionPerformed 
    199  
    200     private void removeThisProperty(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_removeThisProperty 
    201         if (removeListener != null) 
    202         { 
    203             removeListener.actionPerformed(new ActionEvent(this, 0, "")); 
    204         } 
    205     }//GEN-LAST:event_removeThisProperty 
    206163 
    207164    private void browse(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_browse 
     
    221178    private javax.swing.JLabel jLabel1; 
    222179    private javax.swing.JLabel jLabel2; 
    223     private javax.swing.JButton removeButton; 
    224180    // End of variables declaration//GEN-END:variables 
    225181 
  • trunk/src/event/editor/CADLogPanel.form

    r1 r92  
    2323                  <Group type="102" alignment="1" attributes="0"> 
    2424                      <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 
    25                       <EmptySpace pref="330" max="32767" attributes="0"/> 
    26                       <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
     25                      <EmptySpace min="0" pref="0" max="32767" attributes="0"/> 
    2726                  </Group> 
    2827              </Group> 
     
    3433      <Group type="103" groupAlignment="0" attributes="0"> 
    3534          <Group type="102" alignment="0" attributes="0"> 
    36               <EmptySpace max="-2" attributes="0"/> 
    37               <Group type="103" groupAlignment="1" attributes="0"> 
    38                   <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
    39                   <Component id="jLabel1" alignment="1" min="-2" max="-2" attributes="0"/> 
    40               </Group> 
     35              <EmptySpace min="-2" pref="19" max="-2" attributes="0"/> 
     36              <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 
    4137              <EmptySpace max="-2" attributes="0"/> 
    4238              <Component id="jScrollPane1" pref="120" max="32767" attributes="0"/> 
     
    4743  </Layout> 
    4844  <SubComponents> 
    49     <Component class="javax.swing.JButton" name="removeButton"> 
    50       <Properties> 
    51         <Property name="text" type="java.lang.String" value="Remove"/> 
    52       </Properties> 
    53       <Events> 
    54         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeButtonremoveThisProperty"/> 
    55       </Events> 
    56     </Component> 
    5745    <Component class="javax.swing.JLabel" name="jLabel1"> 
    5846      <Properties> 
  • trunk/src/event/editor/CADLogPanel.java

    r89 r92  
    1010 * @author nathaniellehrer 
    1111 */ 
    12 public class CADLogPanel extends javax.swing.JPanel implements RemoveablePanel, ScriptEventEditorPanel 
     12public class CADLogPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1313{ 
    1414 
     
    2323        initComponents(); 
    2424    } 
    25  
    26     public void setRemoveListener(ActionListener listener) 
    27     { 
    28         removeListener = listener; 
    29     } 
    30  
    3125    /** 
    3226     * Load the script event associated with this editor panel. 
     
    6054    } 
    6155 
     56    @Override 
    6257    public void update(Observable o, Object arg) 
    6358    { 
     
    8378    { 
    8479 
    85         removeButton = new javax.swing.JButton(); 
    8680        jLabel1 = new javax.swing.JLabel(); 
    8781        jScrollPane1 = new javax.swing.JScrollPane(); 
    8882        CadTextField = new javax.swing.JTextArea(); 
    89  
    90         removeButton.setText("Remove"); 
    91         removeButton.addMouseListener(new java.awt.event.MouseAdapter() 
    92         { 
    93             public void mouseClicked(java.awt.event.MouseEvent evt) 
    94             { 
    95                 removeButtonremoveThisProperty(evt); 
    96             } 
    97         }); 
    9883 
    9984        jLabel1.setText("Cad Log Text"); 
     
    11398                    .add(layout.createSequentialGroup() 
    11499                        .add(jLabel1) 
    115                         .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 330, Short.MAX_VALUE) 
    116                         .add(removeButton))) 
     100                        .add(0, 0, Short.MAX_VALUE))) 
    117101                .addContainerGap()) 
    118102        ); 
     
    120104            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    121105            .add(layout.createSequentialGroup() 
    122                 .addContainerGap() 
    123                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) 
    124                     .add(removeButton) 
    125                     .add(jLabel1)) 
     106                .add(19, 19, 19) 
     107                .add(jLabel1) 
    126108                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 
    127109                .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE) 
     
    130112    }// </editor-fold>//GEN-END:initComponents 
    131113 
    132     private void removeButtonremoveThisProperty(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_removeButtonremoveThisProperty 
    133         if (removeListener != null) 
    134         { 
    135             removeListener.actionPerformed(new ActionEvent(this, 0, "")); 
    136         } 
    137 }//GEN-LAST:event_removeButtonremoveThisProperty 
    138  
    139114 
    140115    // Variables declaration - do not modify//GEN-BEGIN:variables 
     
    142117    private javax.swing.JLabel jLabel1; 
    143118    private javax.swing.JScrollPane jScrollPane1; 
    144     private javax.swing.JButton removeButton; 
    145119    // End of variables declaration//GEN-END:variables 
    146120 
  • trunk/src/event/editor/CCTVPanel.form

    r50 r92  
    2121              <Group type="103" groupAlignment="0" attributes="0"> 
    2222                  <Component id="help" alignment="1" pref="540" max="32767" attributes="0"/> 
    23                   <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
    2423                  <Group type="102" alignment="0" attributes="0"> 
    2524                      <Group type="103" groupAlignment="0" attributes="0"> 
     
    4342      <Group type="103" groupAlignment="0" attributes="0"> 
    4443          <Group type="102" alignment="0" attributes="0"> 
    45               <EmptySpace max="-2" attributes="0"/> 
    46               <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
    47               <EmptySpace type="unrelated" max="-2" attributes="0"/> 
     44              <EmptySpace min="-2" pref="47" max="-2" attributes="0"/> 
    4845              <Group type="103" groupAlignment="3" attributes="0"> 
    4946                  <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> 
     
    6865  </Layout> 
    6966  <SubComponents> 
    70     <Component class="javax.swing.JButton" name="removeButton"> 
    71       <Properties> 
    72         <Property name="text" type="java.lang.String" value="Remove"/> 
    73       </Properties> 
    74       <Events> 
    75         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeButtonremoveThisProperty"/> 
    76         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeButtonActionPerformed"/> 
    77       </Events> 
    78     </Component> 
    7967    <Component class="javax.swing.JLabel" name="jLabel1"> 
    8068      <Properties> 
  • trunk/src/event/editor/CCTVPanel.java

    r89 r92  
    1010 * @author nathaniellehrer 
    1111 */ 
    12 public class CCTVPanel extends javax.swing.JPanel implements RemoveablePanel, ScriptEventEditorPanel 
     12public class CCTVPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1313{ 
    1414 
    15     private ActionListener removeListener; 
    1615    private CCTVEvent event; 
    1716 
     
    5554 
    5655    @Override 
    57     public void setRemoveListener(ActionListener listener) 
    58     { 
    59         removeListener = listener; 
    60     } 
    61  
    62     @Override 
    6356    public void getEventObject(I_ScriptEvent sei) 
    6457    { 
     
    9487    { 
    9588 
    96         removeButton = new javax.swing.JButton(); 
    9789        jLabel1 = new javax.swing.JLabel(); 
    9890        txtDirField = new javax.swing.JFormattedTextField(); 
     
    10294        txtToggleField = new javax.swing.JFormattedTextField(); 
    10395        help = new javax.swing.JLabel(); 
    104  
    105         removeButton.setText("Remove"); 
    106         removeButton.addMouseListener(new java.awt.event.MouseAdapter() 
    107         { 
    108             public void mouseClicked(java.awt.event.MouseEvent evt) 
    109             { 
    110                 removeButtonremoveThisProperty(evt); 
    111             } 
    112         }); 
    113         removeButton.addActionListener(new java.awt.event.ActionListener() 
    114         { 
    115             public void actionPerformed(java.awt.event.ActionEvent evt) 
    116             { 
    117                 removeButtonActionPerformed(evt); 
    118             } 
    119         }); 
    12096 
    12197        jLabel1.setText("ID"); 
     
    137113                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    138114                    .add(org.jdesktop.layout.GroupLayout.TRAILING, help, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 540, Short.MAX_VALUE) 
    139                     .add(org.jdesktop.layout.GroupLayout.TRAILING, removeButton) 
    140115                    .add(layout.createSequentialGroup() 
    141116                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
     
    153128            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    154129            .add(layout.createSequentialGroup() 
    155                 .addContainerGap() 
    156                 .add(removeButton) 
    157                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) 
     130                .add(47, 47, 47) 
    158131                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 
    159132                    .add(jLabel1) 
     
    173146    }// </editor-fold>//GEN-END:initComponents 
    174147 
    175     private void removeButtonremoveThisProperty(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_removeButtonremoveThisProperty 
    176         if (removeListener != null) 
    177         { 
    178             removeListener.actionPerformed(new ActionEvent(this, 0, "")); 
    179         } 
    180 }//GEN-LAST:event_removeButtonremoveThisProperty 
    181  
    182     private void removeButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_removeButtonActionPerformed 
    183         // TODO add your handling code here: 
    184 }//GEN-LAST:event_removeButtonActionPerformed 
    185  
    186148 
    187149    // Variables declaration - do not modify//GEN-BEGIN:variables 
     
    190152    private javax.swing.JLabel jLabel2; 
    191153    private javax.swing.JLabel jLabel3; 
    192     private javax.swing.JButton removeButton; 
    193154    private javax.swing.JFormattedTextField txtDirField; 
    194155    private javax.swing.JTextField txtIDField; 
  • trunk/src/event/editor/CHPRadioPanel.java

    r89 r92  
    1212 * @author nathaniellehrer 
    1313 */ 
    14 public class CHPRadioPanel extends javax.swing.JPanel implements ScriptEventEditorPanel 
     14public class CHPRadioPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1515{ 
    1616 
  • trunk/src/event/editor/CMSEvaluationPanel.form

    r1 r92  
    3030                      <Group type="103" groupAlignment="0" attributes="0"> 
    3131                          <Component id="jScrollPane1" alignment="0" max="32767" attributes="0"/> 
    32                           <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
    3332                          <Group type="102" alignment="0" attributes="0"> 
    3433                              <Group type="103" groupAlignment="0" attributes="0"> 
     
    5453      <Group type="103" groupAlignment="0" attributes="0"> 
    5554          <Group type="102" alignment="0" attributes="0"> 
    56               <EmptySpace min="-2" pref="17" max="-2" attributes="0"/> 
    57               <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
    58               <EmptySpace max="-2" attributes="0"/> 
     55              <EmptySpace min="-2" pref="52" max="-2" attributes="0"/> 
    5956              <Group type="103" groupAlignment="3" attributes="0"> 
    6057                  <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> 
     
    8481  </Layout> 
    8582  <SubComponents> 
    86     <Component class="javax.swing.JButton" name="removeButton"> 
    87       <Properties> 
    88         <Property name="text" type="java.lang.String" value="Remove"/> 
    89         <Property name="toolTipText" type="java.lang.String" value="Removes this property"/> 
    90       </Properties> 
    91       <Events> 
    92         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeButtonremoveThisProperty"/> 
    93       </Events> 
    94     </Component> 
    9583    <Component class="javax.swing.JLabel" name="jLabel3"> 
    9684      <Properties> 
  • trunk/src/event/editor/CMSEvaluationPanel.java

    r89 r92  
    1313 * @author nathaniellehrer 
    1414 */ 
    15 public class CMSEvaluationPanel extends javax.swing.JPanel implements RemoveablePanel, ScriptEventEditorPanel 
     15public class CMSEvaluationPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1616{ 
    1717 
    1818    private HashMap<String, Class> properties; 
    1919    private JTable dialogTable; 
    20     private ActionListener removeListener; 
    2120    private CMSEvaluationEvent event; 
    2221 
     
    3130    } 
    3231 
    33     public void setRemoveListener(ActionListener listener) 
    34     { 
    35         removeListener = listener; 
    36     } 
    37  
    3832    @Override 
    3933    public void getEventObject(I_ScriptEvent sei) 
     
    133127    } 
    134128 
     129    @Override 
    135130    public void update(Observable o, Object arg) 
    136131    { 
     
    156151    { 
    157152 
    158         removeButton = new javax.swing.JButton(); 
    159153        jLabel3 = new javax.swing.JLabel(); 
    160154        txtLocation = new javax.swing.JTextField(); 
     
    167161        txtMessage = new javax.swing.JTextArea(); 
    168162        addButton = new javax.swing.JButton(); 
    169  
    170         removeButton.setText("Remove"); 
    171         removeButton.setToolTipText("Removes this property"); 
    172         removeButton.addMouseListener(new java.awt.event.MouseAdapter() 
    173         { 
    174             public void mouseClicked(java.awt.event.MouseEvent evt) 
    175             { 
    176                 removeButtonremoveThisProperty(evt); 
    177             } 
    178         }); 
    179163 
    180164        jLabel3.setText("Location"); 
     
    218202                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    219203                            .add(jScrollPane1) 
    220                             .add(org.jdesktop.layout.GroupLayout.TRAILING, removeButton) 
    221204                            .add(layout.createSequentialGroup() 
    222205                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
     
    234217            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    235218            .add(layout.createSequentialGroup() 
    236                 .add(17, 17, 17) 
    237                 .add(removeButton) 
    238                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 
     219                .add(52, 52, 52) 
    239220                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 
    240221                    .add(jLabel1) 
     
    257238        ); 
    258239    }// </editor-fold>//GEN-END:initComponents 
    259  
    260     private void removeButtonremoveThisProperty(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_removeButtonremoveThisProperty 
    261         if (removeListener != null) 
    262         { 
    263             removeListener.actionPerformed(new ActionEvent(this, 0, "")); 
    264         } 
    265 }//GEN-LAST:event_removeButtonremoveThisProperty 
    266240 
    267241 
     
    274248    private javax.swing.JLabel jLabel3; 
    275249    private javax.swing.JScrollPane jScrollPane1; 
    276     private javax.swing.JButton removeButton; 
    277250    private javax.swing.JFormattedTextField txtID; 
    278251    private javax.swing.JTextField txtLocation; 
  • trunk/src/event/editor/Editor.java

    r89 r92  
    456456        { 
    457457            jTabbedPane1.remove(update.getPanel().getPanel()); 
    458             if (update.getPanel().getPanel() instanceof ScriptEventEditorPanel) 
    459             { 
    460                 ((ScriptEventEditorPanel) update.getPanel().getPanel()).removeAssociatedEvent(); 
     458            if (update.getPanel().getPanel() instanceof I_ScriptEventEditorPanel) 
     459            { 
     460                ((I_ScriptEventEditorPanel) update.getPanel().getPanel()).removeAssociatedEvent(); 
    461461            } 
    462462            topFrame.repaint(); 
  • trunk/src/event/editor/GenericEvaluationPanel.java

    r89 r92  
    1414 * @author nathaniellehrer 
    1515 */ 
    16 public class GenericEvaluationPanel extends javax.swing.JPanel implements RemoveablePanel, ScriptEventEditorPanel 
     16public class GenericEvaluationPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1717{ 
    1818 
    19     private ActionListener removeListener; 
    2019    private I_EvaluationEvent event; 
    2120    private JTable dialogTable; 
     
    3231    } 
    3332 
    34     public void setRemoveListener(ActionListener listener) 
    35     { 
    36         removeListener = listener; 
    37     } 
    38  
     33    @Override 
    3934    public void getEventObject(I_ScriptEvent sei) 
    4035    { 
     
    7570    } 
    7671 
     72    @Override 
    7773    public void update(Observable o, Object arg) 
    7874    { 
  • trunk/src/event/editor/I_ScriptEventEditorPanel.java

    r89 r92  
    1313 * @author Bryan McGuffin 
    1414 */ 
    15 public interface ScriptEventEditorPanel extends Observer 
     15public interface I_ScriptEventEditorPanel extends Observer 
    1616{ 
    1717 
  • trunk/src/event/editor/MaintenanceRadioPanel.java

    r89 r92  
    99 * @author nathaniellehrer 
    1010 */ 
    11 public class MaintenanceRadioPanel extends javax.swing.JPanel implements ScriptEventEditorPanel 
     11public class MaintenanceRadioPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1212{ 
    1313 
  • trunk/src/event/editor/ParamicsPanel.form

    r1 r92  
    4949                      </Group> 
    5050                  </Group> 
    51                   <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
    5251                  <Group type="102" alignment="0" attributes="0"> 
    5352                      <Group type="103" groupAlignment="0" attributes="0"> 
     
    7069      <Group type="103" groupAlignment="0" attributes="0"> 
    7170          <Group type="102" attributes="0"> 
    72               <EmptySpace max="-2" attributes="0"/> 
    73               <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
    74               <EmptySpace max="-2" attributes="0"/> 
     71              <EmptySpace min="-2" pref="41" max="-2" attributes="0"/> 
    7572              <Group type="103" groupAlignment="3" attributes="0"> 
    7673                  <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> 
     
    128125  </Layout> 
    129126  <SubComponents> 
    130     <Component class="javax.swing.JButton" name="removeButton"> 
    131       <Properties> 
    132         <Property name="text" type="java.lang.String" value="Remove"/> 
    133       </Properties> 
    134       <Events> 
    135         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeThisProperty"/> 
    136       </Events> 
    137     </Component> 
    138127    <Component class="javax.swing.JLabel" name="jLabel1"> 
    139128      <Properties> 
  • trunk/src/event/editor/ParamicsPanel.java

    r89 r92  
    1212 * @author nathaniellehrer 
    1313 */ 
    14 public class ParamicsPanel extends javax.swing.JPanel implements RemoveablePanel, ScriptEventEditorPanel 
     14public class ParamicsPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1515{ 
    1616 
     
    2626    } 
    2727 
    28     public void setRemoveListener(ActionListener listener) 
    29     { 
    30         removeListener = listener; 
    31     } 
    32  
     28    @Override 
    3329    public void getEventObject(I_ScriptEvent sei) 
    3430    { 
     
    107103    } 
    108104 
     105    @Override 
    109106    public void update(Observable o, Object arg) 
    110107    { 
     
    130127    { 
    131128 
    132         removeButton = new javax.swing.JButton(); 
    133129        jLabel1 = new javax.swing.JLabel(); 
    134130        jLabel2 = new javax.swing.JLabel(); 
     
    148144        jCheckBox10 = new javax.swing.JCheckBox(); 
    149145        LocationDropdown = new javax.swing.JComboBox(); 
    150  
    151         removeButton.setText("Remove"); 
    152         removeButton.addMouseListener(new java.awt.event.MouseAdapter() 
    153         { 
    154             public void mouseClicked(java.awt.event.MouseEvent evt) 
    155             { 
    156                 removeThisProperty(evt); 
    157             } 
    158         }); 
    159146 
    160147        jLabel1.setText("Location"); 
     
    292279                            .add(jCheckBox10) 
    293280                            .add(jCheckBox9))) 
    294                     .add(removeButton) 
    295281                    .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup() 
    296282                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
     
    307293            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    308294            .add(layout.createSequentialGroup() 
    309                 .addContainerGap() 
    310                 .add(removeButton) 
    311                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 
     295                .add(41, 41, 41) 
    312296                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 
    313297                    .add(jLabel1) 
     
    351335    }// </editor-fold>//GEN-END:initComponents 
    352336 
    353     private void removeThisProperty(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_removeThisProperty 
    354         if (removeListener != null) 
    355         { 
    356             removeListener.actionPerformed(new ActionEvent(this, 0, "")); 
    357         } 
    358     }//GEN-LAST:event_removeThisProperty 
    359  
    360337    private void jCheckBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCheckBox1ActionPerformed 
    361338        if (jCheckBox1.isSelected()) 
     
    547524    private javax.swing.JLabel jLabel3; 
    548525    private javax.swing.JLabel jLabel4; 
    549     private javax.swing.JButton removeButton; 
    550526    // End of variables declaration//GEN-END:variables 
    551527 
  • trunk/src/event/editor/PropertyModel.java

    r89 r92  
    5353 
    5454            final PropertyPanel propertyPanel = properties.addPropertyPanel(property, panel); 
    55             if (panel instanceof ScriptEventEditorPanel) 
     55            if (panel instanceof I_ScriptEventEditorPanel) 
    5656            { 
    57                 ((ScriptEventEditorPanel) panel).getEventObject(se); 
    58             } 
    59             if (property.getType() == PropertyTypes.Multiple) 
    60             { 
    61  
    62                 if (panel instanceof RemoveablePanel) 
    63                 { 
    64                     ((RemoveablePanel) panel).setRemoveListener(new ActionListener() 
    65                     { 
    66                         public void actionPerformed(ActionEvent evt) 
    67                         { 
    68                             properties.removeProperty(propertyPanel); 
    69                         } 
    70                     }); 
    71                 } 
    72                 else 
    73                 { 
    74                     throw new RuntimeException("Property was multiple but panel was not removeable"); 
    75                 } 
     57                ((I_ScriptEventEditorPanel) panel).getEventObject(se); 
    7658            } 
    7759        } 
  • trunk/src/event/editor/TMTRadioPanel.java

    r89 r92  
    99 * @author nathaniellehrer 
    1010 */ 
    11 public class TMTRadioPanel extends javax.swing.JPanel implements ScriptEventEditorPanel 
     11public class TMTRadioPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1212{ 
    1313 
  • trunk/src/event/editor/TelephonePanel.java

    r89 r92  
    1313 * @author nathaniellehrer 
    1414 */ 
    15 public class TelephonePanel extends javax.swing.JPanel implements ScriptEventEditorPanel 
     15public class TelephonePanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1616{ 
    1717 
  • trunk/src/event/editor/TowPanel.form

    r1 r92  
    2121              <Group type="103" groupAlignment="0" attributes="0"> 
    2222                  <Component id="help" pref="543" max="32767" attributes="0"/> 
    23                   <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
    2423                  <Group type="102" alignment="0" attributes="0"> 
    2524                      <Group type="103" groupAlignment="0" attributes="0"> 
     
    4544      <Group type="103" groupAlignment="0" attributes="0"> 
    4645          <Group type="102" alignment="1" attributes="0"> 
    47               <EmptySpace max="-2" attributes="0"/> 
    48               <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
    49               <EmptySpace type="unrelated" max="-2" attributes="0"/> 
     46              <EmptySpace min="-2" pref="47" max="-2" attributes="0"/> 
    5047              <Group type="103" groupAlignment="3" attributes="0"> 
    5148                  <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> 
     
    7572  </Layout> 
    7673  <SubComponents> 
    77     <Component class="javax.swing.JButton" name="removeButton"> 
    78       <Properties> 
    79         <Property name="text" type="java.lang.String" value="Remove"/> 
    80       </Properties> 
    81       <Events> 
    82         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeThisProperty"/> 
    83         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeButtonActionPerformed"/> 
    84       </Events> 
    85     </Component> 
    8674    <Component class="javax.swing.JLabel" name="jLabel1"> 
    8775      <Properties> 
  • trunk/src/event/editor/TowPanel.java

    r89 r92  
    1010 * @author nathaniellehrer 
    1111 */ 
    12 public class TowPanel extends javax.swing.JPanel implements RemoveablePanel, ScriptEventEditorPanel 
     12public class TowPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1313{ 
    1414 
     
    5555    } 
    5656 
    57     public void setRemoveListener(ActionListener listener) 
    58     { 
    59         removeListener = listener; 
    60     } 
    61  
     57    @Override 
    6258    public void getEventObject(I_ScriptEvent sei) 
    6359    { 
     
    133129    } 
    134130 
     131    @Override 
    135132    public void update(Observable o, Object arg) 
    136133    { 
     
    156153    { 
    157154 
    158         removeButton = new javax.swing.JButton(); 
    159155        jLabel1 = new javax.swing.JLabel(); 
    160156        txtCompany = new javax.swing.JTextField(); 
     
    167163        help = new javax.swing.JLabel(); 
    168164 
    169         removeButton.setText("Remove"); 
    170         removeButton.addMouseListener(new java.awt.event.MouseAdapter() 
    171         { 
    172             public void mouseClicked(java.awt.event.MouseEvent evt) 
    173             { 
    174                 removeThisProperty(evt); 
    175             } 
    176         }); 
    177         removeButton.addActionListener(new java.awt.event.ActionListener() 
    178         { 
    179             public void actionPerformed(java.awt.event.ActionEvent evt) 
    180             { 
    181                 removeButtonActionPerformed(evt); 
    182             } 
    183         }); 
    184  
    185165        jLabel1.setText("Company"); 
    186166 
     
    215195                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    216196                    .add(help, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 543, Short.MAX_VALUE) 
    217                     .add(org.jdesktop.layout.GroupLayout.TRAILING, removeButton) 
    218197                    .add(layout.createSequentialGroup() 
    219198                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
     
    233212            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    234213            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup() 
    235                 .addContainerGap() 
    236                 .add(removeButton) 
    237                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) 
     214                .add(47, 47, 47) 
    238215                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 
    239216                    .add(jLabel1) 
     
    257234    }// </editor-fold>//GEN-END:initComponents 
    258235 
    259     private void removeButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_removeButtonActionPerformed 
    260         // TODO add your handling code here: 
    261     }//GEN-LAST:event_removeButtonActionPerformed 
    262  
    263     private void removeThisProperty(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_removeThisProperty 
    264         if (removeListener != null) 
    265         { 
    266             removeListener.actionPerformed(new ActionEvent(this, 0, "")); 
    267         } 
    268     }//GEN-LAST:event_removeThisProperty 
    269  
    270236 
    271237    // Variables declaration - do not modify//GEN-BEGIN:variables 
     
    275241    private javax.swing.JLabel jLabel3; 
    276242    private javax.swing.JLabel jLabel4; 
    277     private javax.swing.JButton removeButton; 
    278243    private javax.swing.JTextField txtBeat; 
    279244    private javax.swing.JTextField txtCompany; 
  • trunk/src/event/editor/UnitPanel.form

    r1 r92  
    2020              <EmptySpace max="-2" attributes="0"/> 
    2121              <Group type="103" groupAlignment="0" attributes="0"> 
    22                   <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
    2322                  <Component id="help" alignment="1" pref="565" max="32767" attributes="0"/> 
    2423                  <Group type="102" alignment="0" attributes="0"> 
     
    5251      <Group type="103" groupAlignment="0" attributes="0"> 
    5352          <Group type="102" alignment="0" attributes="0"> 
    54               <EmptySpace max="-2" attributes="0"/> 
    55               <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
    56               <EmptySpace type="unrelated" max="-2" attributes="0"/> 
     53              <EmptySpace min="-2" pref="47" max="-2" attributes="0"/> 
    5754              <Group type="103" groupAlignment="3" attributes="0"> 
    5855                  <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> 
     
    9289        <Property name="toolTipText" type="java.lang.String" value=""/> 
    9390      </Properties> 
    94     </Component> 
    95     <Component class="javax.swing.JButton" name="removeButton"> 
    96       <Properties> 
    97         <Property name="text" type="java.lang.String" value="Remove"/> 
    98       </Properties> 
    99       <Events> 
    100         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeThisProperty"/> 
    101       </Events> 
    10291    </Component> 
    10392    <Component class="javax.swing.JLabel" name="jLabel2"> 
  • trunk/src/event/editor/UnitPanel.java

    r89 r92  
    1010 * @author nathaniellehrer 
    1111 */ 
    12 public class UnitPanel extends javax.swing.JPanel implements RemoveablePanel, ScriptEventEditorPanel 
     12public class UnitPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1313{ 
    1414 
     
    3939    } 
    4040 
    41     public void setRemoveListener(ActionListener listener) 
    42     { 
    43         removeListener = listener; 
    44     } 
    45  
     41    @Override 
    4642    public void getEventObject(I_ScriptEvent sei) 
    4743    { 
     
    118114    } 
    119115 
     116    @Override 
    120117    public void update(Observable o, Object arg) 
    121118    { 
     
    143140        jLabel1 = new javax.swing.JLabel(); 
    144141        txtUnitNumber = new javax.swing.JFormattedTextField(); 
    145         removeButton = new javax.swing.JButton(); 
    146142        jLabel2 = new javax.swing.JLabel(); 
    147143        StatusDropdown = new javax.swing.JComboBox(); 
     
    157153        txtUnitNumber.setToolTipText(""); 
    158154 
    159         removeButton.setText("Remove"); 
    160         removeButton.addMouseListener(new java.awt.event.MouseAdapter() 
    161         { 
    162             public void mouseClicked(java.awt.event.MouseEvent evt) 
    163             { 
    164                 removeThisProperty(evt); 
    165             } 
    166         }); 
    167  
    168155        jLabel2.setText("Status"); 
    169156 
     
    185172                .addContainerGap() 
    186173                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    187                     .add(org.jdesktop.layout.GroupLayout.TRAILING, removeButton) 
    188174                    .add(org.jdesktop.layout.GroupLayout.TRAILING, help, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 565, Short.MAX_VALUE) 
    189175                    .add(layout.createSequentialGroup() 
     
    208194            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    209195            .add(layout.createSequentialGroup() 
    210                 .addContainerGap() 
    211                 .add(removeButton) 
    212                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) 
     196                .add(47, 47, 47) 
    213197                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 
    214198                    .add(jLabel1) 
     
    231215        ); 
    232216    }// </editor-fold>//GEN-END:initComponents 
    233  
    234     private void removeThisProperty(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_removeThisProperty 
    235         if (removeListener != null) 
    236         { 
    237             removeListener.actionPerformed(new ActionEvent(this, 0, "")); 
    238         } 
    239     }//GEN-LAST:event_removeThisProperty 
    240217 
    241218 
     
    249226    private javax.swing.JLabel jLabel3; 
    250227    private javax.swing.JLabel jLabel4; 
    251     private javax.swing.JButton removeButton; 
    252228    private javax.swing.JFormattedTextField txtUnitNumber; 
    253229    // End of variables declaration//GEN-END:variables 
  • trunk/src/event/editor/WitnessPanel.form

    r1 r92  
    2020              <EmptySpace max="-2" attributes="0"/> 
    2121              <Group type="103" groupAlignment="1" attributes="0"> 
    22                   <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
    2322                  <Group type="102" alignment="0" attributes="0"> 
    2423                      <Group type="103" groupAlignment="0" attributes="0"> 
     
    4746      <Group type="103" groupAlignment="0" attributes="0"> 
    4847          <Group type="102" alignment="0" attributes="0"> 
    49               <EmptySpace max="-2" attributes="0"/> 
    50               <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
    51               <EmptySpace type="unrelated" max="-2" attributes="0"/> 
     48              <EmptySpace min="-2" pref="47" max="-2" attributes="0"/> 
    5249              <Group type="103" groupAlignment="3" attributes="0"> 
    5350                  <Component id="txtFirstName" alignment="3" min="-2" max="-2" attributes="0"/> 
     
    7572  </Layout> 
    7673  <SubComponents> 
    77     <Component class="javax.swing.JButton" name="removeButton"> 
    78       <Properties> 
    79         <Property name="text" type="java.lang.String" value="Remove"/> 
    80       </Properties> 
    81       <Events> 
    82         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeThisProperty"/> 
    83       </Events> 
    84     </Component> 
    8574    <Component class="javax.swing.JLabel" name="jLabel1"> 
    8675      <Properties> 
  • trunk/src/event/editor/WitnessPanel.java

    r89 r92  
    1111 * @author nathaniellehrer 
    1212 */ 
    13 public class WitnessPanel extends javax.swing.JPanel implements RemoveablePanel, ScriptEventEditorPanel 
     13public class WitnessPanel extends javax.swing.JPanel implements I_ScriptEventEditorPanel 
    1414{ 
    1515 
     
    2525    } 
    2626 
    27     public void setRemoveListener(ActionListener listener) 
    28     { 
    29         removeListener = listener; 
    30     } 
    31  
     27    @Override 
    3228    public void getEventObject(I_ScriptEvent sei) 
    3329    { 
     
    119115    } 
    120116 
     117    @Override 
    121118    public void update(Observable o, Object arg) 
    122119    { 
     
    142139    { 
    143140 
    144         removeButton = new javax.swing.JButton(); 
    145141        jLabel1 = new javax.swing.JLabel(); 
    146142        txtFirstName = new javax.swing.JTextField(); 
     
    152148        txtPhoneNumber = new javax.swing.JFormattedTextField(); 
    153149 
    154         removeButton.setText("Remove"); 
    155         removeButton.addMouseListener(new java.awt.event.MouseAdapter() 
    156         { 
    157             public void mouseClicked(java.awt.event.MouseEvent evt) 
    158             { 
    159                 removeThisProperty(evt); 
    160             } 
    161         }); 
    162  
    163150        jLabel1.setText("First Name"); 
    164151 
     
    178165                .addContainerGap() 
    179166                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) 
    180                     .add(removeButton) 
    181167                    .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup() 
    182168                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
     
    198184            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 
    199185            .add(layout.createSequentialGroup() 
    200                 .addContainerGap() 
    201                 .add(removeButton) 
    202                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) 
     186                .add(47, 47, 47) 
    203187                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 
    204188                    .add(txtFirstName, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 
     
    220204    }// </editor-fold>//GEN-END:initComponents 
    221205 
    222     private void removeThisProperty(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_removeThisProperty 
    223         if (removeListener != null) 
    224         { 
    225             removeListener.actionPerformed(new ActionEvent(this, 0, "")); 
    226         } 
    227     }//GEN-LAST:event_removeThisProperty 
    228  
    229206 
    230207    // Variables declaration - do not modify//GEN-BEGIN:variables 
     
    233210    private javax.swing.JLabel jLabel3; 
    234211    private javax.swing.JLabel jLabel4; 
    235     private javax.swing.JButton removeButton; 
    236212    private javax.swing.JTextField txtAddress; 
    237213    private javax.swing.JTextField txtFirstName; 
Note: See TracChangeset for help on using the changeset viewer.