svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.swing / org.gvsig.fmap.dal.swing.impl / src / main / java / org / gvsig / fmap / dal / swing / impl / featuretype / DefaultFeatureAttributePanelView.java @ 44746
History | View | Annotate | Download (30.6 KB)
1 |
package org.gvsig.fmap.dal.swing.impl.featuretype; |
---|---|
2 |
|
3 |
import com.jeta.open.i18n.I18NUtils; |
4 |
import com.jgoodies.forms.layout.CellConstraints; |
5 |
import com.jgoodies.forms.layout.FormLayout; |
6 |
import java.awt.BorderLayout; |
7 |
import java.awt.ComponentOrientation; |
8 |
import java.awt.Container; |
9 |
import java.awt.Dimension; |
10 |
import javax.swing.Box; |
11 |
import javax.swing.ImageIcon; |
12 |
import javax.swing.JButton; |
13 |
import javax.swing.JCheckBox; |
14 |
import javax.swing.JComboBox; |
15 |
import javax.swing.JFrame; |
16 |
import javax.swing.JLabel; |
17 |
import javax.swing.JList; |
18 |
import javax.swing.JPanel; |
19 |
import javax.swing.JScrollPane; |
20 |
import javax.swing.JTabbedPane; |
21 |
import javax.swing.JTable; |
22 |
import javax.swing.JTextArea; |
23 |
import javax.swing.JTextField; |
24 |
import javax.swing.border.EmptyBorder; |
25 |
|
26 |
|
27 |
public class DefaultFeatureAttributePanelView extends JPanel |
28 |
{ |
29 |
JLabel lblFieldName = new JLabel(); |
30 |
JTextField txtFieldName = new JTextField(); |
31 |
JLabel lblFieldType = new JLabel(); |
32 |
JTabbedPane tabAditionalFields = new JTabbedPane(); |
33 |
JLabel lblSize = new JLabel(); |
34 |
JTextField txtSize = new JTextField(); |
35 |
JLabel lblPrecision = new JLabel(); |
36 |
JLabel lblDefaultValue = new JLabel(); |
37 |
JTextField txtPrecision = new JTextField(); |
38 |
JTextField txtDefaultValue = new JTextField(); |
39 |
JLabel lblDataProfile = new JLabel(); |
40 |
JComboBox cboDataProfile = new JComboBox(); |
41 |
JCheckBox chkVirtualField = new JCheckBox(); |
42 |
JButton btnVirtualField = new JButton(); |
43 |
JTextField txtVirtualField = new JTextField(); |
44 |
JLabel lblScale = new JLabel(); |
45 |
JTextField txtScale = new JTextField(); |
46 |
JLabel lblRelationType = new JLabel(); |
47 |
JComboBox cboRelationType = new JComboBox(); |
48 |
JLabel lblGeometryType = new JLabel(); |
49 |
JLabel lblGeometrySubtype = new JLabel(); |
50 |
JLabel lblCRS = new JLabel(); |
51 |
JComboBox cboGeometryType = new JComboBox(); |
52 |
JComboBox cboGeometrySubtype = new JComboBox(); |
53 |
JButton btnCRS = new JButton(); |
54 |
JTextField txtCRS = new JTextField(); |
55 |
JLabel lblDateFormat = new JLabel(); |
56 |
JComboBox cboDateFormat = new JComboBox(); |
57 |
JLabel lblInterval = new JLabel(); |
58 |
JLabel lblIntervalStart = new JLabel(); |
59 |
JLabel lblIntervalEnd = new JLabel(); |
60 |
JTextField txtIntervalStart = new JTextField(); |
61 |
JButton btnIntervalStart = new JButton(); |
62 |
JButton btnIntervalEnd = new JButton(); |
63 |
JTextField txtIntervalEnd = new JTextField(); |
64 |
JLabel lblTagsName = new JLabel(); |
65 |
JLabel lblTagsValue = new JLabel(); |
66 |
JComboBox cboTagsName = new JComboBox(); |
67 |
JTable tblTags = new JTable(); |
68 |
JLabel lblTagsDescription = new JLabel(); |
69 |
JButton btnTagsAdd = new JButton(); |
70 |
JButton btnTagsUpdate = new JButton(); |
71 |
JButton btnTagsRemove = new JButton(); |
72 |
JComboBox cboTagsValue = new JComboBox(); |
73 |
JCheckBox chkIsForeingKey = new JCheckBox(); |
74 |
JLabel lblForeingKeyTableName = new JLabel(); |
75 |
JLabel lblForeingKeyCodeName = new JLabel(); |
76 |
JLabel lblForeingKeyLabelFormula = new JLabel(); |
77 |
JComboBox cboForeingKeyTableName = new JComboBox(); |
78 |
JComboBox cboForeingKeyCodeName = new JComboBox(); |
79 |
JTextField txtForeingKeyFormula = new JTextField(); |
80 |
JButton btnForeingKeyFormula = new JButton(); |
81 |
JLabel lblIsClosedList = new JLabel(); |
82 |
JCheckBox chkIsClosedList = new JCheckBox(); |
83 |
JTabbedPane tabLayout = new JTabbedPane(); |
84 |
JLabel lblGroup = new JLabel(); |
85 |
JLabel lblOrder = new JLabel(); |
86 |
JComboBox cboGroup = new JComboBox(); |
87 |
JTextField txtOrder = new JTextField(); |
88 |
JLabel lblHidden = new JLabel(); |
89 |
JCheckBox chkHidden = new JCheckBox(); |
90 |
JLabel lblLabel = new JLabel(); |
91 |
JTextField txtLabel = new JTextField(); |
92 |
JLabel lblDescription = new JLabel(); |
93 |
JTextArea txtDescription = new JTextArea(); |
94 |
JLabel lblMinValue = new JLabel(); |
95 |
JTextField txtMinValue = new JTextField(); |
96 |
JLabel lblMaxValue = new JLabel(); |
97 |
JTextField txtMaxValue = new JTextField(); |
98 |
JLabel lblAvailableValues = new JLabel(); |
99 |
JButton btnAvailableValuesAdd = new JButton(); |
100 |
JButton btnAvailableValuesUpdate = new JButton(); |
101 |
JButton btnAvailableValuesRemove = new JButton(); |
102 |
JButton btnAvailableValuesRemoveAll = new JButton(); |
103 |
JLabel lblAvailableValuesLabel = new JLabel(); |
104 |
JLabel lblAvailableValuesValue = new JLabel(); |
105 |
JTextField txtAvailableValuesLabel = new JTextField(); |
106 |
JTextField txtAvailableValuesValue = new JTextField(); |
107 |
JList lstAvailableValues = new JList(); |
108 |
JLabel lblIsPrimaryKey = new JLabel(); |
109 |
JCheckBox chkIsPrimaryKey = new JCheckBox(); |
110 |
JLabel lblIsAutomatic = new JLabel(); |
111 |
JCheckBox chkIsAutomatic = new JCheckBox(); |
112 |
JLabel lblAllowNulls = new JLabel(); |
113 |
JCheckBox chkAllowNulls = new JCheckBox(); |
114 |
JComboBox cboFieldType = new JComboBox(); |
115 |
JButton btnFieldType = new JButton(); |
116 |
|
117 |
/**
|
118 |
* Default constructor
|
119 |
*/
|
120 |
public DefaultFeatureAttributePanelView()
|
121 |
{ |
122 |
initializePanel(); |
123 |
} |
124 |
|
125 |
/**
|
126 |
* Adds fill components to empty cells in the first row and first column of the grid.
|
127 |
* This ensures that the grid spacing will be the same as shown in the designer.
|
128 |
* @param cols an array of column indices in the first row where fill components should be added.
|
129 |
* @param rows an array of row indices in the first column where fill components should be added.
|
130 |
*/
|
131 |
void addFillComponents( Container panel, int[] cols, int[] rows ) |
132 |
{ |
133 |
Dimension filler = new Dimension(10,10); |
134 |
|
135 |
boolean filled_cell_11 = false; |
136 |
CellConstraints cc = new CellConstraints();
|
137 |
if ( cols.length > 0 && rows.length > 0 ) |
138 |
{ |
139 |
if ( cols[0] == 1 && rows[0] == 1 ) |
140 |
{ |
141 |
/** add a rigid area */
|
142 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,1) ); |
143 |
filled_cell_11 = true;
|
144 |
} |
145 |
} |
146 |
|
147 |
for( int index = 0; index < cols.length; index++ ) |
148 |
{ |
149 |
if ( cols[index] == 1 && filled_cell_11 ) |
150 |
{ |
151 |
continue;
|
152 |
} |
153 |
panel.add( Box.createRigidArea( filler ), cc.xy(cols[index],1) ); |
154 |
} |
155 |
|
156 |
for( int index = 0; index < rows.length; index++ ) |
157 |
{ |
158 |
if ( rows[index] == 1 && filled_cell_11 ) |
159 |
{ |
160 |
continue;
|
161 |
} |
162 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,rows[index]) ); |
163 |
} |
164 |
|
165 |
} |
166 |
|
167 |
/**
|
168 |
* Helper method to load an image file from the CLASSPATH
|
169 |
* @param imageName the package and name of the file to load relative to the CLASSPATH
|
170 |
* @return an ImageIcon instance with the specified image file
|
171 |
* @throws IllegalArgumentException if the image resource cannot be loaded.
|
172 |
*/
|
173 |
public ImageIcon loadImage( String imageName ) |
174 |
{ |
175 |
try
|
176 |
{ |
177 |
ClassLoader classloader = getClass().getClassLoader();
|
178 |
java.net.URL url = classloader.getResource( imageName ); |
179 |
if ( url != null ) |
180 |
{ |
181 |
ImageIcon icon = new ImageIcon( url ); |
182 |
return icon;
|
183 |
} |
184 |
} |
185 |
catch( Exception e ) |
186 |
{ |
187 |
e.printStackTrace(); |
188 |
} |
189 |
throw new IllegalArgumentException( "Unable to load image: " + imageName ); |
190 |
} |
191 |
|
192 |
/**
|
193 |
* Method for recalculating the component orientation for
|
194 |
* right-to-left Locales.
|
195 |
* @param orientation the component orientation to be applied
|
196 |
*/
|
197 |
public void applyComponentOrientation( ComponentOrientation orientation ) |
198 |
{ |
199 |
// Not yet implemented...
|
200 |
// I18NUtils.applyComponentOrientation(this, orientation);
|
201 |
super.applyComponentOrientation(orientation);
|
202 |
} |
203 |
|
204 |
public JPanel createPanel() |
205 |
{ |
206 |
JPanel jpanel1 = new JPanel(); |
207 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:NONE,CENTER:2DLU:NONE"); |
208 |
CellConstraints cc = new CellConstraints();
|
209 |
jpanel1.setLayout(formlayout1); |
210 |
|
211 |
lblFieldName.setName("lblFieldName");
|
212 |
lblFieldName.setText("_Field_name");
|
213 |
jpanel1.add(lblFieldName,cc.xy(2,2)); |
214 |
|
215 |
txtFieldName.setName("txtFieldName");
|
216 |
jpanel1.add(txtFieldName,cc.xy(4,2)); |
217 |
|
218 |
lblFieldType.setName("lblFieldType");
|
219 |
lblFieldType.setText("_Field_type");
|
220 |
jpanel1.add(lblFieldType,cc.xy(2,4)); |
221 |
|
222 |
tabAditionalFields.setName("tabAditionalFields");
|
223 |
tabAditionalFields.addTab("_Basic_fields",null,createPanel1()); |
224 |
tabAditionalFields.addTab("_Geometry",null,createPanel3()); |
225 |
tabAditionalFields.addTab("_Time",null,createPanel5()); |
226 |
tabAditionalFields.addTab("_Tags",null,createPanel7()); |
227 |
tabAditionalFields.addTab("_ForeingKey",null,createPanel10()); |
228 |
tabAditionalFields.addTab("_Visualization",null,createPanel11()); |
229 |
jpanel1.add(tabAditionalFields,cc.xywh(2,8,3,1)); |
230 |
|
231 |
jpanel1.add(createPanel17(),cc.xy(4,6)); |
232 |
jpanel1.add(createPanel18(),cc.xy(4,4)); |
233 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
234 |
return jpanel1;
|
235 |
} |
236 |
|
237 |
public JPanel createPanel1() |
238 |
{ |
239 |
JPanel jpanel1 = new JPanel(); |
240 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
241 |
CellConstraints cc = new CellConstraints();
|
242 |
jpanel1.setLayout(formlayout1); |
243 |
|
244 |
lblSize.setName("lblSize");
|
245 |
lblSize.setText("_Size");
|
246 |
jpanel1.add(lblSize,cc.xy(2,2)); |
247 |
|
248 |
txtSize.setName("txtSize");
|
249 |
jpanel1.add(txtSize,cc.xy(4,2)); |
250 |
|
251 |
lblPrecision.setName("lblPrecision");
|
252 |
lblPrecision.setText("_Precision");
|
253 |
jpanel1.add(lblPrecision,cc.xy(2,4)); |
254 |
|
255 |
lblDefaultValue.setName("lblDefaultValue");
|
256 |
lblDefaultValue.setText("_Default_value");
|
257 |
jpanel1.add(lblDefaultValue,cc.xy(2,8)); |
258 |
|
259 |
txtPrecision.setName("txtPrecision");
|
260 |
jpanel1.add(txtPrecision,cc.xy(4,4)); |
261 |
|
262 |
txtDefaultValue.setName("txtDefaultValue");
|
263 |
jpanel1.add(txtDefaultValue,cc.xy(4,8)); |
264 |
|
265 |
lblDataProfile.setName("lblDataProfile");
|
266 |
lblDataProfile.setText("_Data_profile");
|
267 |
jpanel1.add(lblDataProfile,cc.xy(2,10)); |
268 |
|
269 |
cboDataProfile.setName("cboDataProfile");
|
270 |
jpanel1.add(cboDataProfile,cc.xy(4,10)); |
271 |
|
272 |
chkVirtualField.setActionCommand("Campo virtual");
|
273 |
chkVirtualField.setName("chkVirtualField");
|
274 |
chkVirtualField.setText("_Virtual_field");
|
275 |
jpanel1.add(chkVirtualField,cc.xy(2,12)); |
276 |
|
277 |
jpanel1.add(createPanel2(),cc.xy(4,12)); |
278 |
lblScale.setName("lblScale");
|
279 |
lblScale.setText("_Scale");
|
280 |
jpanel1.add(lblScale,cc.xy(2,6)); |
281 |
|
282 |
txtScale.setName("txtScale");
|
283 |
jpanel1.add(txtScale,cc.xy(4,6)); |
284 |
|
285 |
lblRelationType.setName("lblRelationType");
|
286 |
lblRelationType.setText("_Relation_type");
|
287 |
jpanel1.add(lblRelationType,cc.xy(2,14)); |
288 |
|
289 |
cboRelationType.setName("cboRelationType");
|
290 |
jpanel1.add(cboRelationType,cc.xy(4,14)); |
291 |
|
292 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14 }); |
293 |
return jpanel1;
|
294 |
} |
295 |
|
296 |
public JPanel createPanel2() |
297 |
{ |
298 |
JPanel jpanel1 = new JPanel(); |
299 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
300 |
CellConstraints cc = new CellConstraints();
|
301 |
jpanel1.setLayout(formlayout1); |
302 |
|
303 |
btnVirtualField.setActionCommand("...");
|
304 |
btnVirtualField.setName("btnVirtualField");
|
305 |
btnVirtualField.setText("...");
|
306 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
307 |
btnVirtualField.setBorder(emptyborder1); |
308 |
jpanel1.add(btnVirtualField,cc.xy(3,1)); |
309 |
|
310 |
txtVirtualField.setName("txtVirtualField");
|
311 |
jpanel1.add(txtVirtualField,cc.xy(1,1)); |
312 |
|
313 |
addFillComponents(jpanel1,new int[]{ 2 },new int[0]); |
314 |
return jpanel1;
|
315 |
} |
316 |
|
317 |
public JPanel createPanel3() |
318 |
{ |
319 |
JPanel jpanel1 = new JPanel(); |
320 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
321 |
CellConstraints cc = new CellConstraints();
|
322 |
jpanel1.setLayout(formlayout1); |
323 |
|
324 |
lblGeometryType.setName("lblGeometryType");
|
325 |
lblGeometryType.setText("_Geometry_type");
|
326 |
jpanel1.add(lblGeometryType,cc.xy(2,2)); |
327 |
|
328 |
lblGeometrySubtype.setName("lblGeometrySubtype");
|
329 |
lblGeometrySubtype.setText("_Geometry_subtype");
|
330 |
jpanel1.add(lblGeometrySubtype,cc.xy(2,4)); |
331 |
|
332 |
lblCRS.setName("lblCRS");
|
333 |
lblCRS.setText("_CRS");
|
334 |
jpanel1.add(lblCRS,cc.xy(2,6)); |
335 |
|
336 |
cboGeometryType.setName("cboGeometryType");
|
337 |
jpanel1.add(cboGeometryType,cc.xy(4,2)); |
338 |
|
339 |
cboGeometrySubtype.setName("cboGeometrySubtype");
|
340 |
jpanel1.add(cboGeometrySubtype,cc.xy(4,4)); |
341 |
|
342 |
jpanel1.add(createPanel4(),cc.xy(4,6)); |
343 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 }); |
344 |
return jpanel1;
|
345 |
} |
346 |
|
347 |
public JPanel createPanel4() |
348 |
{ |
349 |
JPanel jpanel1 = new JPanel(); |
350 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
351 |
CellConstraints cc = new CellConstraints();
|
352 |
jpanel1.setLayout(formlayout1); |
353 |
|
354 |
btnCRS.setActionCommand("...");
|
355 |
btnCRS.setName("btnCRS");
|
356 |
btnCRS.setText("...");
|
357 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
358 |
btnCRS.setBorder(emptyborder1); |
359 |
jpanel1.add(btnCRS,cc.xy(3,1)); |
360 |
|
361 |
txtCRS.setName("txtCRS");
|
362 |
jpanel1.add(txtCRS,cc.xy(1,1)); |
363 |
|
364 |
addFillComponents(jpanel1,new int[]{ 2 },new int[0]); |
365 |
return jpanel1;
|
366 |
} |
367 |
|
368 |
public JPanel createPanel5() |
369 |
{ |
370 |
JPanel jpanel1 = new JPanel(); |
371 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
372 |
CellConstraints cc = new CellConstraints();
|
373 |
jpanel1.setLayout(formlayout1); |
374 |
|
375 |
lblDateFormat.setName("lblDateFormat");
|
376 |
lblDateFormat.setText("_Date_format");
|
377 |
jpanel1.add(lblDateFormat,cc.xy(2,2)); |
378 |
|
379 |
cboDateFormat.setEditable(true);
|
380 |
cboDateFormat.setName("cboDateFormat");
|
381 |
cboDateFormat.setRequestFocusEnabled(false);
|
382 |
jpanel1.add(cboDateFormat,cc.xy(4,2)); |
383 |
|
384 |
lblInterval.setName("lblInterval");
|
385 |
lblInterval.setText("_Interval");
|
386 |
jpanel1.add(lblInterval,new CellConstraints(2,5,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
387 |
|
388 |
jpanel1.add(createPanel6(),cc.xy(4,5)); |
389 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6 }); |
390 |
return jpanel1;
|
391 |
} |
392 |
|
393 |
public JPanel createPanel6() |
394 |
{ |
395 |
JPanel jpanel1 = new JPanel(); |
396 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
397 |
CellConstraints cc = new CellConstraints();
|
398 |
jpanel1.setLayout(formlayout1); |
399 |
|
400 |
lblIntervalStart.setName("lblIntervalStart");
|
401 |
lblIntervalStart.setText("_Start");
|
402 |
jpanel1.add(lblIntervalStart,cc.xy(1,1)); |
403 |
|
404 |
lblIntervalEnd.setName("lblIntervalEnd");
|
405 |
lblIntervalEnd.setText("_End");
|
406 |
jpanel1.add(lblIntervalEnd,cc.xy(1,3)); |
407 |
|
408 |
txtIntervalStart.setName("txtIntervalStart");
|
409 |
jpanel1.add(txtIntervalStart,cc.xy(3,1)); |
410 |
|
411 |
btnIntervalStart.setActionCommand("...");
|
412 |
btnIntervalStart.setName("btnIntervalStart");
|
413 |
btnIntervalStart.setText("...");
|
414 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
415 |
btnIntervalStart.setBorder(emptyborder1); |
416 |
jpanel1.add(btnIntervalStart,cc.xy(5,1)); |
417 |
|
418 |
btnIntervalEnd.setActionCommand("...");
|
419 |
btnIntervalEnd.setName("btnIntervalEnd");
|
420 |
btnIntervalEnd.setText("...");
|
421 |
EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2); |
422 |
btnIntervalEnd.setBorder(emptyborder2); |
423 |
jpanel1.add(btnIntervalEnd,cc.xy(5,3)); |
424 |
|
425 |
txtIntervalEnd.setName("txtIntervalEnd");
|
426 |
jpanel1.add(txtIntervalEnd,cc.xy(3,3)); |
427 |
|
428 |
addFillComponents(jpanel1,new int[]{ 2,4 },new int[]{ 2 }); |
429 |
return jpanel1;
|
430 |
} |
431 |
|
432 |
public JPanel createPanel7() |
433 |
{ |
434 |
JPanel jpanel1 = new JPanel(); |
435 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)"); |
436 |
CellConstraints cc = new CellConstraints();
|
437 |
jpanel1.setLayout(formlayout1); |
438 |
|
439 |
jpanel1.add(createPanel8(),cc.xy(1,1)); |
440 |
addFillComponents(jpanel1,new int[]{ 1 },new int[]{ 1 }); |
441 |
return jpanel1;
|
442 |
} |
443 |
|
444 |
public JPanel createPanel8() |
445 |
{ |
446 |
JPanel jpanel1 = new JPanel(); |
447 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
448 |
CellConstraints cc = new CellConstraints();
|
449 |
jpanel1.setLayout(formlayout1); |
450 |
|
451 |
lblTagsName.setName("lblTagsName");
|
452 |
lblTagsName.setText("_Name");
|
453 |
jpanel1.add(lblTagsName,cc.xy(2,3)); |
454 |
|
455 |
lblTagsValue.setName("lblTagsValue");
|
456 |
lblTagsValue.setText("_Value");
|
457 |
jpanel1.add(lblTagsValue,cc.xy(2,5)); |
458 |
|
459 |
cboTagsName.setEditable(true);
|
460 |
cboTagsName.setName("cboTagsName");
|
461 |
cboTagsName.setRequestFocusEnabled(false);
|
462 |
jpanel1.add(cboTagsName,cc.xy(4,3)); |
463 |
|
464 |
tblTags.setName("tblTags");
|
465 |
JScrollPane jscrollpane1 = new JScrollPane(); |
466 |
jscrollpane1.setViewportView(tblTags); |
467 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
|
468 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
|
469 |
jpanel1.add(jscrollpane1,cc.xywh(2,1,3,1)); |
470 |
|
471 |
lblTagsDescription.setName("lblTagsDescription");
|
472 |
jpanel1.add(lblTagsDescription,cc.xy(4,6)); |
473 |
|
474 |
jpanel1.add(createPanel9(),cc.xywh(6,1,1,5)); |
475 |
cboTagsValue.setEditable(true);
|
476 |
cboTagsValue.setName("cboTagsValue");
|
477 |
cboTagsValue.setRequestFocusEnabled(false);
|
478 |
jpanel1.add(cboTagsValue,cc.xy(4,5)); |
479 |
|
480 |
addFillComponents(jpanel1,new int[]{ 1,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6 }); |
481 |
return jpanel1;
|
482 |
} |
483 |
|
484 |
public JPanel createPanel9() |
485 |
{ |
486 |
JPanel jpanel1 = new JPanel(); |
487 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
488 |
CellConstraints cc = new CellConstraints();
|
489 |
jpanel1.setLayout(formlayout1); |
490 |
|
491 |
btnTagsAdd.setActionCommand("_Add");
|
492 |
btnTagsAdd.setName("btnTagsAdd");
|
493 |
btnTagsAdd.setText("_Add");
|
494 |
jpanel1.add(btnTagsAdd,cc.xy(1,1)); |
495 |
|
496 |
btnTagsUpdate.setActionCommand("_Update");
|
497 |
btnTagsUpdate.setName("btnTagsUpdate");
|
498 |
btnTagsUpdate.setText("_Update");
|
499 |
jpanel1.add(btnTagsUpdate,cc.xy(1,3)); |
500 |
|
501 |
btnTagsRemove.setActionCommand("_Remove");
|
502 |
btnTagsRemove.setName("btnTagsRemove");
|
503 |
btnTagsRemove.setText("_Remove");
|
504 |
jpanel1.add(btnTagsRemove,cc.xy(1,5)); |
505 |
|
506 |
addFillComponents(jpanel1,new int[0],new int[]{ 2,4 }); |
507 |
return jpanel1;
|
508 |
} |
509 |
|
510 |
public JPanel createPanel10() |
511 |
{ |
512 |
JPanel jpanel1 = new JPanel(); |
513 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
514 |
CellConstraints cc = new CellConstraints();
|
515 |
jpanel1.setLayout(formlayout1); |
516 |
|
517 |
chkIsForeingKey.setActionCommand("_is_foreing_key");
|
518 |
chkIsForeingKey.setName("chkIsForeingKey");
|
519 |
chkIsForeingKey.setText("_is_foreing_key");
|
520 |
jpanel1.add(chkIsForeingKey,cc.xywh(2,2,3,1)); |
521 |
|
522 |
lblForeingKeyTableName.setName("lblForeingKeyTableName");
|
523 |
lblForeingKeyTableName.setText("_Table");
|
524 |
jpanel1.add(lblForeingKeyTableName,cc.xy(2,6)); |
525 |
|
526 |
lblForeingKeyCodeName.setName("lblForeingKeyCodeName");
|
527 |
lblForeingKeyCodeName.setText("_Code");
|
528 |
jpanel1.add(lblForeingKeyCodeName,cc.xy(2,8)); |
529 |
|
530 |
lblForeingKeyLabelFormula.setName("lblForeingKeyLabelFormula");
|
531 |
lblForeingKeyLabelFormula.setText("_Label_formula");
|
532 |
jpanel1.add(lblForeingKeyLabelFormula,cc.xy(2,10)); |
533 |
|
534 |
cboForeingKeyTableName.setEditable(true);
|
535 |
cboForeingKeyTableName.setName("cboForeingKeyTableName");
|
536 |
cboForeingKeyTableName.setRequestFocusEnabled(false);
|
537 |
jpanel1.add(cboForeingKeyTableName,cc.xywh(4,6,3,1)); |
538 |
|
539 |
cboForeingKeyCodeName.setEditable(true);
|
540 |
cboForeingKeyCodeName.setName("cboForeingKeyCodeName");
|
541 |
cboForeingKeyCodeName.setRequestFocusEnabled(false);
|
542 |
jpanel1.add(cboForeingKeyCodeName,cc.xywh(4,8,3,1)); |
543 |
|
544 |
txtForeingKeyFormula.setName("txtForeingKeyFormula");
|
545 |
jpanel1.add(txtForeingKeyFormula,cc.xy(4,10)); |
546 |
|
547 |
btnForeingKeyFormula.setActionCommand("...");
|
548 |
btnForeingKeyFormula.setName("btnForeingKeyFormula");
|
549 |
btnForeingKeyFormula.setText("...");
|
550 |
jpanel1.add(btnForeingKeyFormula,cc.xy(6,10)); |
551 |
|
552 |
lblIsClosedList.setName("lblIsClosedList");
|
553 |
lblIsClosedList.setText("_is_closed_list");
|
554 |
jpanel1.add(lblIsClosedList,cc.xy(2,4)); |
555 |
|
556 |
chkIsClosedList.setName("chkIsClosedList");
|
557 |
jpanel1.add(chkIsClosedList,cc.xy(4,4)); |
558 |
|
559 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11 }); |
560 |
return jpanel1;
|
561 |
} |
562 |
|
563 |
public JPanel createPanel11() |
564 |
{ |
565 |
JPanel jpanel1 = new JPanel(); |
566 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)"); |
567 |
CellConstraints cc = new CellConstraints();
|
568 |
jpanel1.setLayout(formlayout1); |
569 |
|
570 |
tabLayout.setName("tabLayout");
|
571 |
tabLayout.setTabPlacement(JTabbedPane.LEFT);
|
572 |
tabLayout.addTab("_Basic",null,createPanel12()); |
573 |
tabLayout.addTab("_Values",null,createPanel13()); |
574 |
jpanel1.add(tabLayout,cc.xy(1,1)); |
575 |
|
576 |
addFillComponents(jpanel1,new int[0],new int[0]); |
577 |
return jpanel1;
|
578 |
} |
579 |
|
580 |
public JPanel createPanel12() |
581 |
{ |
582 |
JPanel jpanel1 = new JPanel(); |
583 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(0.2)"); |
584 |
CellConstraints cc = new CellConstraints();
|
585 |
jpanel1.setLayout(formlayout1); |
586 |
|
587 |
lblGroup.setName("lblGroup");
|
588 |
lblGroup.setText("_Group");
|
589 |
jpanel1.add(lblGroup,cc.xy(2,2)); |
590 |
|
591 |
lblOrder.setName("lblOrder");
|
592 |
lblOrder.setText("_Order");
|
593 |
jpanel1.add(lblOrder,cc.xy(2,4)); |
594 |
|
595 |
cboGroup.setEditable(true);
|
596 |
cboGroup.setName("cboGroup");
|
597 |
cboGroup.setRequestFocusEnabled(false);
|
598 |
jpanel1.add(cboGroup,cc.xy(4,2)); |
599 |
|
600 |
txtOrder.setName("txtOrder");
|
601 |
jpanel1.add(txtOrder,cc.xy(4,4)); |
602 |
|
603 |
lblHidden.setName("lblHidden");
|
604 |
lblHidden.setText("_Hidden");
|
605 |
jpanel1.add(lblHidden,cc.xy(2,6)); |
606 |
|
607 |
chkHidden.setName("chkHidden");
|
608 |
jpanel1.add(chkHidden,cc.xy(4,6)); |
609 |
|
610 |
lblLabel.setName("lblLabel");
|
611 |
lblLabel.setText("_Label");
|
612 |
jpanel1.add(lblLabel,cc.xy(2,8)); |
613 |
|
614 |
txtLabel.setName("txtLabel");
|
615 |
jpanel1.add(txtLabel,cc.xy(4,8)); |
616 |
|
617 |
lblDescription.setName("lblDescription");
|
618 |
lblDescription.setText("_Description");
|
619 |
lblDescription.setVerticalAlignment(JLabel.TOP);
|
620 |
jpanel1.add(lblDescription,new CellConstraints(2,10,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
621 |
|
622 |
txtDescription.setName("txtDescription");
|
623 |
JScrollPane jscrollpane1 = new JScrollPane(); |
624 |
jscrollpane1.setViewportView(txtDescription); |
625 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
|
626 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
|
627 |
jpanel1.add(jscrollpane1,cc.xy(4,10)); |
628 |
|
629 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10 }); |
630 |
return jpanel1;
|
631 |
} |
632 |
|
633 |
public JPanel createPanel13() |
634 |
{ |
635 |
JPanel jpanel1 = new JPanel(); |
636 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
637 |
CellConstraints cc = new CellConstraints();
|
638 |
jpanel1.setLayout(formlayout1); |
639 |
|
640 |
lblMinValue.setName("lblMinValue");
|
641 |
lblMinValue.setText("_Minimum_value");
|
642 |
jpanel1.add(lblMinValue,cc.xy(2,2)); |
643 |
|
644 |
txtMinValue.setName("txtMinValue");
|
645 |
jpanel1.add(txtMinValue,cc.xy(4,2)); |
646 |
|
647 |
lblMaxValue.setName("lblMaxValue");
|
648 |
lblMaxValue.setText("_Maximum_value");
|
649 |
jpanel1.add(lblMaxValue,cc.xy(2,4)); |
650 |
|
651 |
txtMaxValue.setName("txtMaxValue");
|
652 |
jpanel1.add(txtMaxValue,cc.xy(4,4)); |
653 |
|
654 |
lblAvailableValues.setName("lblAvailableValues");
|
655 |
lblAvailableValues.setText("_List_of_values");
|
656 |
jpanel1.add(lblAvailableValues,cc.xywh(2,6,3,1)); |
657 |
|
658 |
jpanel1.add(createPanel14(),cc.xywh(2,7,3,1)); |
659 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 }); |
660 |
return jpanel1;
|
661 |
} |
662 |
|
663 |
public JPanel createPanel14() |
664 |
{ |
665 |
JPanel jpanel1 = new JPanel(); |
666 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
667 |
CellConstraints cc = new CellConstraints();
|
668 |
jpanel1.setLayout(formlayout1); |
669 |
|
670 |
jpanel1.add(createPanel15(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
671 |
jpanel1.add(createPanel16(),cc.xy(1,1)); |
672 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1 }); |
673 |
return jpanel1;
|
674 |
} |
675 |
|
676 |
public JPanel createPanel15() |
677 |
{ |
678 |
JPanel jpanel1 = new JPanel(); |
679 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,FILL:2DLU:NONE"); |
680 |
CellConstraints cc = new CellConstraints();
|
681 |
jpanel1.setLayout(formlayout1); |
682 |
|
683 |
btnAvailableValuesAdd.setActionCommand("_Add");
|
684 |
btnAvailableValuesAdd.setName("btnAvailableValuesAdd");
|
685 |
btnAvailableValuesAdd.setText("_Add");
|
686 |
jpanel1.add(btnAvailableValuesAdd,cc.xy(1,1)); |
687 |
|
688 |
btnAvailableValuesUpdate.setActionCommand("_Update");
|
689 |
btnAvailableValuesUpdate.setName("btnAvailableValuesUpdate");
|
690 |
btnAvailableValuesUpdate.setText("_Update");
|
691 |
jpanel1.add(btnAvailableValuesUpdate,cc.xy(1,3)); |
692 |
|
693 |
btnAvailableValuesRemove.setActionCommand("_Remove");
|
694 |
btnAvailableValuesRemove.setName("btnAvailableValuesRemove");
|
695 |
btnAvailableValuesRemove.setText("_Remove");
|
696 |
jpanel1.add(btnAvailableValuesRemove,cc.xy(1,5)); |
697 |
|
698 |
btnAvailableValuesRemoveAll.setActionCommand("_Remove");
|
699 |
btnAvailableValuesRemoveAll.setName("btnAvailableValuesRemoveAll");
|
700 |
btnAvailableValuesRemoveAll.setText("_Remove_all");
|
701 |
jpanel1.add(btnAvailableValuesRemoveAll,cc.xy(1,7)); |
702 |
|
703 |
addFillComponents(jpanel1,new int[0],new int[]{ 2,4,6,8 }); |
704 |
return jpanel1;
|
705 |
} |
706 |
|
707 |
public JPanel createPanel16() |
708 |
{ |
709 |
JPanel jpanel1 = new JPanel(); |
710 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
711 |
CellConstraints cc = new CellConstraints();
|
712 |
jpanel1.setLayout(formlayout1); |
713 |
|
714 |
lblAvailableValuesLabel.setName("lblAvailableValuesLabel");
|
715 |
lblAvailableValuesLabel.setText("_Label");
|
716 |
jpanel1.add(lblAvailableValuesLabel,cc.xy(1,3)); |
717 |
|
718 |
lblAvailableValuesValue.setName("lblAvailableValuesValue");
|
719 |
lblAvailableValuesValue.setText("_Value");
|
720 |
jpanel1.add(lblAvailableValuesValue,cc.xy(1,5)); |
721 |
|
722 |
txtAvailableValuesLabel.setName("txtAvailableValuesLabel");
|
723 |
jpanel1.add(txtAvailableValuesLabel,cc.xy(3,3)); |
724 |
|
725 |
txtAvailableValuesValue.setName("txtAvailableValuesValue");
|
726 |
jpanel1.add(txtAvailableValuesValue,cc.xy(3,5)); |
727 |
|
728 |
lstAvailableValues.setName("lstAvailableValues");
|
729 |
JScrollPane jscrollpane1 = new JScrollPane(); |
730 |
jscrollpane1.setViewportView(lstAvailableValues); |
731 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
|
732 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
|
733 |
jpanel1.add(jscrollpane1,cc.xywh(1,1,3,1)); |
734 |
|
735 |
addFillComponents(jpanel1,new int[]{ 2,3 },new int[]{ 2,4,6 }); |
736 |
return jpanel1;
|
737 |
} |
738 |
|
739 |
public JPanel createPanel17() |
740 |
{ |
741 |
JPanel jpanel1 = new JPanel(); |
742 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
743 |
CellConstraints cc = new CellConstraints();
|
744 |
jpanel1.setLayout(formlayout1); |
745 |
|
746 |
lblIsPrimaryKey.setName("lblIsPrimaryKey");
|
747 |
lblIsPrimaryKey.setText("_Primary_key");
|
748 |
jpanel1.add(lblIsPrimaryKey,cc.xy(1,1)); |
749 |
|
750 |
chkIsPrimaryKey.setName("chkIsPrimaryKey");
|
751 |
jpanel1.add(chkIsPrimaryKey,cc.xy(3,1)); |
752 |
|
753 |
lblIsAutomatic.setName("lblIsAutomatic");
|
754 |
lblIsAutomatic.setText("_Value_automatic");
|
755 |
jpanel1.add(lblIsAutomatic,cc.xy(5,1)); |
756 |
|
757 |
chkIsAutomatic.setName("chkIsAutomatic");
|
758 |
jpanel1.add(chkIsAutomatic,cc.xy(7,1)); |
759 |
|
760 |
lblAllowNulls.setName("lblAllowNulls");
|
761 |
lblAllowNulls.setText("_Allow_nulls");
|
762 |
jpanel1.add(lblAllowNulls,cc.xy(9,1)); |
763 |
|
764 |
chkAllowNulls.setName("chkAllowNulls");
|
765 |
jpanel1.add(chkAllowNulls,cc.xy(11,1)); |
766 |
|
767 |
addFillComponents(jpanel1,new int[]{ 2,4,6,8,10,12 },new int[0]); |
768 |
return jpanel1;
|
769 |
} |
770 |
|
771 |
public JPanel createPanel18() |
772 |
{ |
773 |
JPanel jpanel1 = new JPanel(); |
774 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
775 |
CellConstraints cc = new CellConstraints();
|
776 |
jpanel1.setLayout(formlayout1); |
777 |
|
778 |
cboFieldType.setName("cboFieldType");
|
779 |
jpanel1.add(cboFieldType,cc.xy(1,1)); |
780 |
|
781 |
btnFieldType.setIcon(loadImage("src/main/resources/org/gvsig/fmap/dal/swing/impl/featuretype/picker-datatype.png"));
|
782 |
btnFieldType.setName("btnFieldType");
|
783 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
784 |
btnFieldType.setBorder(emptyborder1); |
785 |
jpanel1.add(btnFieldType,cc.xy(3,1)); |
786 |
|
787 |
addFillComponents(jpanel1,new int[]{ 2 },new int[0]); |
788 |
return jpanel1;
|
789 |
} |
790 |
|
791 |
/**
|
792 |
* Initializer
|
793 |
*/
|
794 |
protected void initializePanel() |
795 |
{ |
796 |
setLayout(new BorderLayout()); |
797 |
add(createPanel(), BorderLayout.CENTER);
|
798 |
} |
799 |
|
800 |
|
801 |
} |