Revision 3305 org.gvsig.topology/trunk/org.gvsig.topology/org.gvsig.topology.swing/org.gvsig.topology.swing.impl/src/main/java/org/gvsig/topology/swing/impl/DefaultJTopologyPlanPropertiesView.java

View differences:

DefaultJTopologyPlanPropertiesView.java
34 34
   JButton btnEditRule = new JButton();
35 35
   JLabel lblTolerance = new JLabel();
36 36
   JTextField txtTolerance = new JTextField();
37
   JPanel pnlCfgActions = new JPanel();
37 38

  
38 39
   /**
39 40
    * Default constructor
......
125 126
   public JPanel createPanel()
126 127
   {
127 128
      JPanel jpanel1 = new JPanel();
128
      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,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE");
129
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE");
129 130
      CellConstraints cc = new CellConstraints();
130 131
      jpanel1.setLayout(formlayout1);
131 132

  
132 133
      lblName.setName("lblName");
133 134
      lblName.setText("_Name");
134
      jpanel1.add(lblName,cc.xy(2,2));
135
      jpanel1.add(lblName,cc.xy(2,3));
135 136

  
136 137
      txtName.setName("txtName");
137
      jpanel1.add(txtName,cc.xy(4,2));
138
      jpanel1.add(txtName,cc.xy(4,3));
138 139

  
139 140
      tabPanel.setName("tabPanel");
140 141
      tabPanel.addTab("_DataSets",null,createPanel1());
141 142
      tabPanel.addTab("_Rules",null,createPanel3());
142
      jpanel1.add(tabPanel,cc.xywh(2,6,3,1));
143
      jpanel1.add(tabPanel,cc.xywh(2,7,3,1));
143 144

  
144 145
      lblTolerance.setName("lblTolerance");
145 146
      lblTolerance.setText("_Tolerance");
146
      jpanel1.add(lblTolerance,cc.xy(2,4));
147
      jpanel1.add(lblTolerance,cc.xy(2,5));
147 148

  
148 149
      txtTolerance.setName("txtTolerance");
149 150
      txtTolerance.setHorizontalAlignment(JTextField.RIGHT);
150
      jpanel1.add(txtTolerance,cc.xy(4,4));
151
      jpanel1.add(txtTolerance,cc.xy(4,5));
151 152

  
152
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 });
153
      pnlCfgActions.setName("pnlCfgActions");
154
      jpanel1.add(pnlCfgActions,new CellConstraints(4,1,1,1,CellConstraints.RIGHT,CellConstraints.FILL));
155

  
156
      addFillComponents(jpanel1,new int[]{ 1,2,3,5 },new int[]{ 1,2,3,4,5,6,7,8 });
153 157
      return jpanel1;
154 158
   }
155 159

  

Also available in: Unified diff