Changeset 89 in tmcsimulator-scriptbuilder for trunk/src/event/editor/CHPRadioPanel.java
- Timestamp:
- 08/28/2017 01:38:15 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/event/editor/CHPRadioPanel.java (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/event/editor/CHPRadioPanel.java
r76 r89 101 101 throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. 102 102 } 103 104 @Override 105 public boolean removeAssociatedEvent() 106 { 107 ((I_ScriptEvent)event).removeThis(); 108 event = null; 109 return true; 110 } 103 111 104 112 /** … … 109 117 @SuppressWarnings("unchecked") 110 118 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 111 private void initComponents() { 119 private void initComponents() 120 { 112 121 113 122 jLabel4 = new javax.swing.JLabel(); … … 125 134 jButton2.setText("Browse"); 126 135 jButton2.setToolTipText("Browse for the radio audio file"); 127 jButton2.addMouseListener(new java.awt.event.MouseAdapter() { 128 public void mouseClicked(java.awt.event.MouseEvent evt) { 136 jButton2.addMouseListener(new java.awt.event.MouseAdapter() 137 { 138 public void mouseClicked(java.awt.event.MouseEvent evt) 139 { 129 140 browse(evt); 130 141 } … … 139 150 addFieldButton.setText("Add Field"); 140 151 addFieldButton.setToolTipText("Adds a row for dialog by the field operator in the table"); 141 addFieldButton.addActionListener(new java.awt.event.ActionListener() { 142 public void actionPerformed(java.awt.event.ActionEvent evt) { 152 addFieldButton.addActionListener(new java.awt.event.ActionListener() 153 { 154 public void actionPerformed(java.awt.event.ActionEvent evt) 155 { 143 156 addFieldButtonActionPerformed(evt); 144 157 } … … 158 171 .add(addFieldButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 130, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 159 172 .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) 160 .add(deleteSelectedButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 131, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 161 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)) 173 .add(deleteSelectedButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 131, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) 162 174 .add(layout.createSequentialGroup() 163 175 .add(jLabel4)
Note: See TracChangeset
for help on using the changeset viewer.
