Revision 47 org.gvsig.lrs/trunk/org.gvsig.lrs/org.gvsig.lrs.swing/org.gvsig.lrs.swing.impl/src/main/java/org/gvsig/lrs/swing/impl/JLrsCalibrateRouteParamsView.java

View differences:

JLrsCalibrateRouteParamsView.java
24 24
   JComboBox cmbInputLayer = new JComboBox();
25 25
   JLabel lblIdRouteField = new JLabel();
26 26
   JComboBox cmbIdRouteField = new JComboBox();
27
   JLabel lblFromMeasureField = new JLabel();
28
   JComboBox cmbFromMeasureField = new JComboBox();
27
   JLabel lblMeasureField = new JLabel();
28
   JComboBox cmbMeasureField = new JComboBox();
29 29
   JLabel lblOutputFile = new JLabel();
30 30
   JComboBox cmbCalibratePointLayer = new JComboBox();
31 31
   JLabel lblCalibratePointLayer = new JLabel();
......
41 41
   JLabel lblSearchRadius = new JLabel();
42 42
   JTextField txtOutputFile = new JTextField();
43 43
   JButton btnBrowser = new JButton();
44
   JLabel lblMeasureUnits = new JLabel();
45 44
   JComboBox cmbMeasureUnits = new JComboBox();
46 45
   JFormattedTextField txtSearchRadius = new JFormattedTextField();
47 46
   JButton btnAccept = new JButton();
......
155 154
      cmbIdRouteField.setName("cmbIdRouteField");
156 155
      jpanel1.add(cmbIdRouteField,cc.xywh(4,3,2,1));
157 156

  
158
      lblFromMeasureField.setName("lblFromMeasureField");
159
      lblFromMeasureField.setText("from_measure_field");
160
      jpanel1.add(lblFromMeasureField,cc.xy(2,6));
157
      lblMeasureField.setName("lblMeasureField");
158
      lblMeasureField.setText("measures_field");
159
      jpanel1.add(lblMeasureField,cc.xy(2,6));
161 160

  
162
      cmbFromMeasureField.setName("cmbFromMeasureField");
163
      jpanel1.add(cmbFromMeasureField,cc.xywh(4,6,2,1));
161
      cmbMeasureField.setName("cmbMeasureField");
162
      jpanel1.add(cmbMeasureField,cc.xywh(4,6,2,1));
164 163

  
165 164
      lblOutputFile.setName("lblOutputFile");
166 165
      lblOutputFile.setText("output_file");
......
248 247
   public JPanel createPanel2()
249 248
   {
250 249
      JPanel jpanel1 = new JPanel();
251
      FormLayout formlayout1 = new FormLayout("FILL:20DLU:GROW(1.0),FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
250
      FormLayout formlayout1 = new FormLayout("FILL:20DLU:GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
252 251
      CellConstraints cc = new CellConstraints();
253 252
      jpanel1.setLayout(formlayout1);
254 253

  
255
      lblMeasureUnits.setName("lblMeasureUnits");
256
      lblMeasureUnits.setText("units");
257
      jpanel1.add(lblMeasureUnits,cc.xy(2,1));
258

  
259 254
      cmbMeasureUnits.setName("cmbMeasureUnits");
260
      jpanel1.add(cmbMeasureUnits,cc.xy(4,1));
255
      jpanel1.add(cmbMeasureUnits,cc.xy(2,1));
261 256

  
262 257
      txtSearchRadius.setName("txtSearchRadius");
263 258
      jpanel1.add(txtSearchRadius,cc.xy(1,1));
264 259

  
265
      addFillComponents(jpanel1,new int[]{ 3 },new int[0]);
260
      addFillComponents(jpanel1,new int[0],new int[0]);
266 261
      return jpanel1;
267 262
   }
268 263

  

Also available in: Unified diff