Revision 45994 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

View differences:

DefaultFeatureAttributePanelView.java
1 1
package org.gvsig.fmap.dal.swing.impl.featuretype;
2 2

  
3 3
import com.jeta.forms.components.line.HorizontalLineComponent;
4
import com.jeta.open.i18n.I18NUtils;
5 4
import com.jgoodies.forms.layout.CellConstraints;
6 5
import com.jgoodies.forms.layout.FormLayout;
7 6
import java.awt.BorderLayout;
......
13 12
import javax.swing.JButton;
14 13
import javax.swing.JCheckBox;
15 14
import javax.swing.JComboBox;
16
import javax.swing.JFrame;
17 15
import javax.swing.JLabel;
18 16
import javax.swing.JList;
19 17
import javax.swing.JPanel;
......
50 48
   JTextField txtVirtualField = new JTextField();
51 49
   JButton btnVirtualFieldHistory = new JButton();
52 50
   JButton btnVirtualField = new JButton();
51
   JLabel lblDefaultFormat = new JLabel();
52
   JTextField txtDefaultFormat = new JTextField();
53 53
   JLabel lblGeometryType = new JLabel();
54 54
   JLabel lblGeometrySubtype = new JLabel();
55 55
   JLabel lblCRS = new JLabel();
......
258 258
   public JPanel createPanel1()
259 259
   {
260 260
      JPanel jpanel1 = new JPanel();
261
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL: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,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
261
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL: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:3PX:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
262 262
      CellConstraints cc = new CellConstraints();
263 263
      jpanel1.setLayout(formlayout1);
264 264

  
......
287 287

  
288 288
      lblDataProfile.setName("lblDataProfile");
289 289
      lblDataProfile.setText("_Data_profile");
290
      jpanel1.add(lblDataProfile,cc.xy(2,12));
290
      jpanel1.add(lblDataProfile,cc.xy(2,14));
291 291

  
292 292
      cboDataProfile.setName("cboDataProfile");
293
      jpanel1.add(cboDataProfile,cc.xy(4,12));
293
      jpanel1.add(cboDataProfile,cc.xy(4,14));
294 294

  
295 295
      chkVirtualField.setActionCommand("Campo virtual");
296 296
      chkVirtualField.setName("chkVirtualField");
297 297
      chkVirtualField.setRolloverEnabled(true);
298 298
      chkVirtualField.setText("_Virtual_field");
299
      jpanel1.add(chkVirtualField,cc.xy(2,14));
299
      jpanel1.add(chkVirtualField,cc.xy(2,16));
300 300

  
301 301
      lblScale.setName("lblScale");
302 302
      lblScale.setText("_Decimal_digits_escale");
......
309 309

  
310 310
      lblRelationType.setName("lblRelationType");
311 311
      lblRelationType.setText("_Relation_type");
312
      jpanel1.add(lblRelationType,cc.xy(2,16));
312
      jpanel1.add(lblRelationType,cc.xy(2,18));
313 313

  
314 314
      cboRelationType.setName("cboRelationType");
315
      jpanel1.add(cboRelationType,cc.xy(4,16));
315
      jpanel1.add(cboRelationType,cc.xy(4,18));
316 316

  
317 317
      lblDisplaySize.setName("lblDisplaySize");
318 318
      lblDisplaySize.setText("_Characters_in_display");
......
323 323
      txtDisplaySize.setToolTipText("_Number_of_bytes_required_to_store_the_data_in_this_field_Leave_it_empty_or_zero_to_be_automatically_calculated_This_value_is_dependent_on_the_type_of_layer");
324 324
      jpanel1.add(txtDisplaySize,cc.xy(4,2));
325 325

  
326
      jpanel1.add(createPanel2(),cc.xy(4,14));
327
      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,15,16 });
326
      jpanel1.add(createPanel2(),cc.xy(4,16));
327
      lblDefaultFormat.setName("lblDefaultFormat");
328
      lblDefaultFormat.setText("_Default_format");
329
      jpanel1.add(lblDefaultFormat,cc.xy(2,12));
330

  
331
      txtDefaultFormat.setName("txtDefaultFormat");
332
      jpanel1.add(txtDefaultFormat,cc.xy(4,12));
333

  
334
      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,15,16,17,18 });
328 335
      return jpanel1;
329 336
   }
330 337

  

Also available in: Unified diff