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