Lines 82-87
Link Here
|
82 |
initialize(); |
82 |
initialize(); |
83 |
} |
83 |
} |
84 |
private void initComponents() {//GEN-BEGIN:initComponents |
84 |
private void initComponents() {//GEN-BEGIN:initComponents |
|
|
85 |
java.awt.GridBagConstraints gridBagConstraints; |
86 |
|
85 |
group = new javax.swing.ButtonGroup(); |
87 |
group = new javax.swing.ButtonGroup(); |
86 |
originalRadioButton = new javax.swing.JRadioButton(); |
88 |
originalRadioButton = new javax.swing.JRadioButton(); |
87 |
dirRadioButton = new javax.swing.JRadioButton(); |
89 |
dirRadioButton = new javax.swing.JRadioButton(); |
Lines 96-280
Link Here
|
96 |
createLabel = new javax.swing.JLabel(); |
98 |
createLabel = new javax.swing.JLabel(); |
97 |
typeComboBox = new javax.swing.JComboBox(); |
99 |
typeComboBox = new javax.swing.JComboBox(); |
98 |
propertySheet1 = new org.openide.explorer.propertysheet.PropertySheet(); |
100 |
propertySheet1 = new org.openide.explorer.propertysheet.PropertySheet(); |
99 |
|
101 |
|
100 |
|
|
|
101 |
setLayout(new java.awt.GridBagLayout()); |
102 |
setLayout(new java.awt.GridBagLayout()); |
102 |
java.awt.GridBagConstraints gridBagConstraints1; |
103 |
|
103 |
|
|
|
104 |
setBorder(new javax.swing.border.CompoundBorder(new javax.swing.border.TitledBorder(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.Border_Title")), new javax.swing.border.EmptyBorder(new java.awt.Insets(8, 8, 8, 8)))); |
104 |
setBorder(new javax.swing.border.CompoundBorder(new javax.swing.border.TitledBorder(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.Border_Title")), new javax.swing.border.EmptyBorder(new java.awt.Insets(8, 8, 8, 8)))); |
105 |
originalRadioButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.originalRadioButton.text")); |
105 |
org.openide.awt.Mnemonics.setLocalizedText(originalRadioButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.originalRadioButton.text")); |
106 |
originalRadioButton.addItemListener(new java.awt.event.ItemListener() { |
106 |
originalRadioButton.addItemListener(new java.awt.event.ItemListener() { |
107 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
107 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
108 |
originalRadioButtonItemStateChanged(evt); |
108 |
originalRadioButtonItemStateChanged(evt); |
109 |
} |
109 |
} |
110 |
}); |
110 |
}); |
111 |
|
111 |
|
112 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
112 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
113 |
gridBagConstraints1.gridx = 0; |
113 |
gridBagConstraints.gridx = 0; |
114 |
gridBagConstraints1.gridy = 0; |
114 |
gridBagConstraints.gridy = 0; |
115 |
gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
115 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
116 |
gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; |
116 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
117 |
gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTHWEST; |
117 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
118 |
gridBagConstraints1.weightx = 1.0; |
118 |
gridBagConstraints.weightx = 1.0; |
119 |
add(originalRadioButton, gridBagConstraints1); |
119 |
add(originalRadioButton, gridBagConstraints); |
120 |
|
120 |
|
121 |
dirRadioButton.setSelected(true); |
121 |
dirRadioButton.setSelected(true); |
122 |
dirRadioButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.dirRadioButton.text")); |
122 |
org.openide.awt.Mnemonics.setLocalizedText(dirRadioButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.dirRadioButton.text")); |
123 |
dirRadioButton.addItemListener(new java.awt.event.ItemListener() { |
123 |
dirRadioButton.addItemListener(new java.awt.event.ItemListener() { |
124 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
124 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
125 |
dirRadioButtonItemStateChanged(evt); |
125 |
dirRadioButtonItemStateChanged(evt); |
126 |
} |
126 |
} |
127 |
}); |
127 |
}); |
128 |
|
128 |
|
129 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
129 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
130 |
gridBagConstraints1.gridx = 0; |
130 |
gridBagConstraints.gridx = 0; |
131 |
gridBagConstraints1.gridy = 1; |
131 |
gridBagConstraints.gridy = 1; |
132 |
gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
132 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
133 |
gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; |
133 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
134 |
add(dirRadioButton, gridBagConstraints1); |
134 |
add(dirRadioButton, gridBagConstraints); |
135 |
|
135 |
|
136 |
dirLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.dirLabel.text")); |
|
|
137 |
dirLabel.setLabelFor(dirTextField); |
136 |
dirLabel.setLabelFor(dirTextField); |
138 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
137 |
org.openide.awt.Mnemonics.setLocalizedText(dirLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.dirLabel.text")); |
139 |
gridBagConstraints1.gridx = 0; |
138 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
140 |
gridBagConstraints1.gridy = 2; |
139 |
gridBagConstraints.gridx = 0; |
141 |
gridBagConstraints1.insets = new java.awt.Insets(0, 24, 0, 0); |
140 |
gridBagConstraints.gridy = 2; |
142 |
gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST; |
141 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
143 |
add(dirLabel, gridBagConstraints1); |
142 |
gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0); |
144 |
|
143 |
add(dirLabel, gridBagConstraints); |
|
|
144 |
|
145 |
dirTextField.addFocusListener(new java.awt.event.FocusAdapter() { |
145 |
dirTextField.addFocusListener(new java.awt.event.FocusAdapter() { |
146 |
public void focusLost(java.awt.event.FocusEvent evt) { |
146 |
public void focusLost(java.awt.event.FocusEvent evt) { |
147 |
dirTextFieldFocusLost(evt); |
147 |
dirTextFieldFocusLost(evt); |
148 |
} |
148 |
} |
149 |
}); |
149 |
}); |
150 |
|
150 |
|
151 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
151 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
152 |
gridBagConstraints1.gridx = 1; |
152 |
gridBagConstraints.gridx = 1; |
153 |
gridBagConstraints1.gridy = 2; |
153 |
gridBagConstraints.gridy = 2; |
154 |
gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; |
154 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
155 |
gridBagConstraints1.weightx = 1.0; |
155 |
gridBagConstraints.weightx = 1.0; |
156 |
add(dirTextField, gridBagConstraints1); |
156 |
add(dirTextField, gridBagConstraints); |
157 |
|
157 |
|
158 |
browseDirButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseDirButton.text")); |
158 |
org.openide.awt.Mnemonics.setLocalizedText(browseDirButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseDirButton.text")); |
159 |
browseDirButton.addActionListener(new java.awt.event.ActionListener() { |
159 |
browseDirButton.addActionListener(new java.awt.event.ActionListener() { |
160 |
public void actionPerformed(java.awt.event.ActionEvent evt) { |
160 |
public void actionPerformed(java.awt.event.ActionEvent evt) { |
161 |
browseDirButtonActionPerformed(evt); |
161 |
browseDirButtonActionPerformed(evt); |
162 |
} |
162 |
} |
163 |
}); |
163 |
}); |
164 |
|
164 |
|
165 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
165 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
166 |
gridBagConstraints1.gridx = 2; |
166 |
gridBagConstraints.gridx = 2; |
167 |
gridBagConstraints1.gridy = 2; |
167 |
gridBagConstraints.gridy = 2; |
168 |
gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
168 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
169 |
gridBagConstraints1.insets = new java.awt.Insets(0, 8, 0, 0); |
169 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
170 |
gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST; |
170 |
gridBagConstraints.weightx = 0.1; |
171 |
gridBagConstraints1.weightx = 0.1; |
171 |
gridBagConstraints.insets = new java.awt.Insets(0, 8, 0, 0); |
172 |
add(browseDirButton, gridBagConstraints1); |
172 |
add(browseDirButton, gridBagConstraints); |
173 |
|
173 |
|
174 |
jarRadioButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.jarRadioButton.text")); |
174 |
org.openide.awt.Mnemonics.setLocalizedText(jarRadioButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.jarRadioButton.text")); |
175 |
jarRadioButton.addItemListener(new java.awt.event.ItemListener() { |
175 |
jarRadioButton.addItemListener(new java.awt.event.ItemListener() { |
176 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
176 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
177 |
jarRadioButtonItemStateChanged(evt); |
177 |
jarRadioButtonItemStateChanged(evt); |
178 |
} |
178 |
} |
179 |
}); |
179 |
}); |
180 |
|
180 |
|
181 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
181 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
182 |
gridBagConstraints1.gridx = 0; |
182 |
gridBagConstraints.gridx = 0; |
183 |
gridBagConstraints1.gridy = 3; |
183 |
gridBagConstraints.gridy = 3; |
184 |
gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
184 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
185 |
gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; |
185 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
186 |
add(jarRadioButton, gridBagConstraints1); |
186 |
add(jarRadioButton, gridBagConstraints); |
187 |
|
187 |
|
188 |
jarLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.jarLabel.text")); |
|
|
189 |
jarLabel.setLabelFor(jarTextField); |
188 |
jarLabel.setLabelFor(jarTextField); |
190 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
189 |
org.openide.awt.Mnemonics.setLocalizedText(jarLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.jarLabel.text")); |
191 |
gridBagConstraints1.gridx = 0; |
190 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
192 |
gridBagConstraints1.gridy = 4; |
191 |
gridBagConstraints.gridx = 0; |
193 |
gridBagConstraints1.insets = new java.awt.Insets(0, 24, 0, 0); |
192 |
gridBagConstraints.gridy = 4; |
194 |
gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST; |
193 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
195 |
add(jarLabel, gridBagConstraints1); |
194 |
gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0); |
196 |
|
195 |
add(jarLabel, gridBagConstraints); |
|
|
196 |
|
197 |
jarTextField.setEnabled(false); |
197 |
jarTextField.setEnabled(false); |
198 |
jarTextField.addFocusListener(new java.awt.event.FocusAdapter() { |
198 |
jarTextField.addFocusListener(new java.awt.event.FocusAdapter() { |
199 |
public void focusLost(java.awt.event.FocusEvent evt) { |
199 |
public void focusLost(java.awt.event.FocusEvent evt) { |
200 |
jarTextFieldFocusLost(evt); |
200 |
jarTextFieldFocusLost(evt); |
201 |
} |
201 |
} |
202 |
}); |
202 |
}); |
203 |
|
203 |
|
204 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
204 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
205 |
gridBagConstraints1.gridx = 1; |
205 |
gridBagConstraints.gridx = 1; |
206 |
gridBagConstraints1.gridy = 4; |
206 |
gridBagConstraints.gridy = 4; |
207 |
gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; |
207 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
208 |
gridBagConstraints1.weightx = 1.0; |
208 |
gridBagConstraints.weightx = 1.0; |
209 |
add(jarTextField, gridBagConstraints1); |
209 |
add(jarTextField, gridBagConstraints); |
210 |
|
210 |
|
|
|
211 |
org.openide.awt.Mnemonics.setLocalizedText(browseJarButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.text")); |
211 |
browseJarButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.hint")); |
212 |
browseJarButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.hint")); |
212 |
browseJarButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.text")); |
|
|
213 |
browseJarButton.setEnabled(false); |
213 |
browseJarButton.setEnabled(false); |
214 |
browseJarButton.addActionListener(new java.awt.event.ActionListener() { |
214 |
browseJarButton.addActionListener(new java.awt.event.ActionListener() { |
215 |
public void actionPerformed(java.awt.event.ActionEvent evt) { |
215 |
public void actionPerformed(java.awt.event.ActionEvent evt) { |
216 |
browseJarButtonActionPerformed(evt); |
216 |
browseJarButtonActionPerformed(evt); |
217 |
} |
217 |
} |
218 |
}); |
218 |
}); |
219 |
|
219 |
|
220 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
220 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
221 |
gridBagConstraints1.gridx = 2; |
221 |
gridBagConstraints.gridx = 2; |
222 |
gridBagConstraints1.gridy = 4; |
222 |
gridBagConstraints.gridy = 4; |
223 |
gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
223 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
224 |
gridBagConstraints1.insets = new java.awt.Insets(0, 8, 0, 0); |
224 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
225 |
gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST; |
225 |
gridBagConstraints.insets = new java.awt.Insets(0, 8, 0, 0); |
226 |
add(browseJarButton, gridBagConstraints1); |
226 |
add(browseJarButton, gridBagConstraints); |
227 |
|
227 |
|
228 |
otherRadioButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.otherRadioButton.text")); |
228 |
org.openide.awt.Mnemonics.setLocalizedText(otherRadioButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.otherRadioButton.text")); |
229 |
otherRadioButton.addItemListener(new java.awt.event.ItemListener() { |
229 |
otherRadioButton.addItemListener(new java.awt.event.ItemListener() { |
230 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
230 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
231 |
otherRadioButtonItemStateChanged(evt); |
231 |
otherRadioButtonItemStateChanged(evt); |
232 |
} |
232 |
} |
233 |
}); |
233 |
}); |
234 |
|
234 |
|
235 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
235 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
236 |
gridBagConstraints1.gridx = 0; |
236 |
gridBagConstraints.gridx = 0; |
237 |
gridBagConstraints1.gridy = 5; |
237 |
gridBagConstraints.gridy = 5; |
238 |
gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
238 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
239 |
gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; |
239 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
240 |
add(otherRadioButton, gridBagConstraints1); |
240 |
add(otherRadioButton, gridBagConstraints); |
241 |
|
241 |
|
242 |
createLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.createLabel.text")); |
|
|
243 |
createLabel.setLabelFor(typeComboBox); |
242 |
createLabel.setLabelFor(typeComboBox); |
244 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
243 |
org.openide.awt.Mnemonics.setLocalizedText(createLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.createLabel.text")); |
245 |
gridBagConstraints1.gridx = 0; |
244 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
246 |
gridBagConstraints1.gridy = 6; |
245 |
gridBagConstraints.gridx = 0; |
247 |
gridBagConstraints1.insets = new java.awt.Insets(0, 24, 0, 0); |
246 |
gridBagConstraints.gridy = 6; |
248 |
gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST; |
247 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
249 |
gridBagConstraints1.weightx = 0.1; |
248 |
gridBagConstraints.weightx = 0.1; |
250 |
add(createLabel, gridBagConstraints1); |
249 |
gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0); |
251 |
|
250 |
add(createLabel, gridBagConstraints); |
252 |
typeComboBox.setPreferredSize(new java.awt.Dimension(200, 25)); |
251 |
|
253 |
typeComboBox.setMinimumSize(new java.awt.Dimension(200, 25)); |
252 |
typeComboBox.setMinimumSize(new java.awt.Dimension(200, 25)); |
|
|
253 |
typeComboBox.setPreferredSize(new java.awt.Dimension(200, 25)); |
254 |
typeComboBox.setEnabled(false); |
254 |
typeComboBox.setEnabled(false); |
255 |
typeComboBox.addItemListener(new java.awt.event.ItemListener() { |
255 |
typeComboBox.addItemListener(new java.awt.event.ItemListener() { |
256 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
256 |
public void itemStateChanged(java.awt.event.ItemEvent evt) { |
257 |
typeComboBoxItemStateChanged(evt); |
257 |
typeComboBoxItemStateChanged(evt); |
258 |
} |
258 |
} |
259 |
}); |
259 |
}); |
260 |
|
260 |
|
261 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
261 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
262 |
gridBagConstraints1.gridx = 1; |
262 |
gridBagConstraints.gridx = 1; |
263 |
gridBagConstraints1.gridy = 6; |
263 |
gridBagConstraints.gridy = 6; |
264 |
gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST; |
264 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
265 |
gridBagConstraints1.weightx = 0.8; |
265 |
gridBagConstraints.weightx = 0.8; |
266 |
add(typeComboBox, gridBagConstraints1); |
266 |
add(typeComboBox, gridBagConstraints); |
267 |
|
267 |
|
268 |
gridBagConstraints1 = new java.awt.GridBagConstraints(); |
268 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
269 |
gridBagConstraints1.gridx = 0; |
269 |
gridBagConstraints.gridx = 0; |
270 |
gridBagConstraints1.gridy = 7; |
270 |
gridBagConstraints.gridy = 7; |
271 |
gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
271 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
272 |
gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH; |
272 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
273 |
gridBagConstraints1.insets = new java.awt.Insets(24, 0, 0, 0); |
273 |
gridBagConstraints.weightx = 1.0; |
274 |
gridBagConstraints1.weightx = 1.0; |
274 |
gridBagConstraints.weighty = 1.0; |
275 |
gridBagConstraints1.weighty = 1.0; |
275 |
gridBagConstraints.insets = new java.awt.Insets(24, 0, 0, 0); |
276 |
add(propertySheet1, gridBagConstraints1); |
276 |
add(propertySheet1, gridBagConstraints); |
277 |
|
277 |
|
278 |
}//GEN-END:initComponents |
278 |
}//GEN-END:initComponents |
279 |
/** We check the path user typed in the jarTextField. If the path |
279 |
/** We check the path user typed in the jarTextField. If the path |
280 |
* is ok, we update the jarFS accordingly. |
280 |
* is ok, we update the jarFS accordingly. |
Lines 509-530
Link Here
|
509 |
}//GEN-LAST:event_selectExisting |
509 |
}//GEN-LAST:event_selectExisting |
510 |
|
510 |
|
511 |
|
511 |
|
512 |
// Variables declaration - do not modify//GEN-BEGIN:variables |
512 |
// ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables |
513 |
private javax.swing.ButtonGroup group; |
513 |
private javax.swing.JRadioButton originalRadioButton; |
514 |
private javax.swing.JRadioButton originalRadioButton; |
514 |
private javax.swing.JRadioButton dirRadioButton; |
515 |
private javax.swing.JRadioButton dirRadioButton; |
515 |
private javax.swing.JTextField dirTextField; |
516 |
private javax.swing.JLabel dirLabel; |
516 |
private javax.swing.JButton browseJarButton; |
517 |
private javax.swing.JTextField dirTextField; |
517 |
private javax.swing.JLabel createLabel; |
518 |
private javax.swing.JButton browseDirButton; |
518 |
private javax.swing.JTextField jarTextField; |
519 |
private javax.swing.JRadioButton jarRadioButton; |
519 |
private javax.swing.JLabel jarLabel; |
520 |
private javax.swing.JLabel jarLabel; |
520 |
private javax.swing.JRadioButton jarRadioButton; |
521 |
private javax.swing.JTextField jarTextField; |
521 |
private javax.swing.JButton browseDirButton; |
522 |
private javax.swing.JButton browseJarButton; |
522 |
private javax.swing.ButtonGroup group; |
523 |
private javax.swing.JRadioButton otherRadioButton; |
523 |
private javax.swing.JLabel dirLabel; |
524 |
private javax.swing.JLabel createLabel; |
524 |
private javax.swing.JComboBox typeComboBox; |
525 |
private javax.swing.JComboBox typeComboBox; |
525 |
private org.openide.explorer.propertysheet.PropertySheet propertySheet1; |
526 |
private org.openide.explorer.propertysheet.PropertySheet propertySheet1; |
526 |
private javax.swing.JRadioButton otherRadioButton; |
527 |
// End of variables declaration//GEN-END:variables |
527 |
// ????? ?????????? ??????????//GEN-END:variables |
528 |
|
528 |
|
529 |
/** Sets the edited node and sets the fs variable.*/ |
529 |
/** Sets the edited node and sets the fs variable.*/ |
530 |
private void setActiveFS(Node n, FileSystem f) { |
530 |
private void setActiveFS(Node n, FileSystem f) { |
Lines 558-572
Link Here
|
558 |
newTypeNames = (String[])c.toArray(new String[c.size()]); |
558 |
newTypeNames = (String[])c.toArray(new String[c.size()]); |
559 |
// set the names in typeCombobox |
559 |
// set the names in typeCombobox |
560 |
typeComboBox.setModel(new DefaultComboBoxModel(newTypeNames)); |
560 |
typeComboBox.setModel(new DefaultComboBoxModel(newTypeNames)); |
561 |
|
|
|
562 |
dirRadioButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.dirRadioButton.text_Mnemonic").charAt (0)); |
563 |
jarRadioButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.jarRadioButton.text_Mnemonic").charAt (0)); |
564 |
otherRadioButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.otherRadioButton.text_Mnemonic").charAt (0)); |
565 |
dirLabel.setDisplayedMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.dirLabel.text_Mnemonic").charAt (0)); |
566 |
jarLabel.setDisplayedMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.jarLabel.text_Mnemonic").charAt (0)); |
567 |
createLabel.setDisplayedMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.createLabel.text_Mnemonic").charAt (0)); |
568 |
browseDirButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseDirButton.text_Mnemonic").charAt (0)); |
569 |
browseJarButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.text_Mnemonic").charAt (0)); |
570 |
|
561 |
|
571 |
group.add(originalRadioButton); |
562 |
group.add(originalRadioButton); |
572 |
group.add(dirRadioButton); |
563 |
group.add(dirRadioButton); |