Revision 30372 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/view/toolListeners/snapping/gui/SnapConfig.java
SnapConfig.java | ||
---|---|---|
40 | 40 |
*/ |
41 | 41 |
package org.gvsig.app.project.documents.view.toolListeners.snapping.gui; |
42 | 42 |
|
43 |
import java.awt.BorderLayout; |
|
43 | 44 |
import java.awt.Component; |
44 | 45 |
import java.util.ArrayList; |
45 | 46 |
import java.util.Map; |
... | ... | |
51 | 52 |
import javax.swing.JScrollPane; |
52 | 53 |
import javax.swing.JTable; |
53 | 54 |
import javax.swing.ListCellRenderer; |
55 |
import javax.swing.border.EmptyBorder; |
|
54 | 56 |
import javax.swing.table.AbstractTableModel; |
55 | 57 |
import javax.swing.table.TableColumn; |
56 | 58 |
import javax.swing.table.TableModel; |
... | ... | |
229 | 231 |
* |
230 | 232 |
*/ |
231 | 233 |
private void initialize() { |
232 |
this.setLayout(null); |
|
234 |
this.setLayout(new BorderLayout()); |
|
235 |
this.setBorder(new EmptyBorder(10, 10, 10, 10)); |
|
233 | 236 |
this.setSize(new java.awt.Dimension(463,239)); |
234 | 237 |
this.setPreferredSize(new java.awt.Dimension(463,239)); |
235 |
this.add(getJChkBoxRefentActive(), null);
|
|
236 |
this.add(getJPanel(), null);
|
|
238 |
this.add(getJChkBoxRefentActive(), BorderLayout.NORTH);
|
|
239 |
this.add(getJPanel(), BorderLayout.CENTER);
|
|
237 | 240 |
|
238 | 241 |
} |
239 | 242 |
|
... | ... | |
272 | 275 |
private JPanel getJPanel() { |
273 | 276 |
if (jPanel == null) { |
274 | 277 |
jPanel = new JPanel(); |
275 |
jPanel.setLayout(null); |
|
278 |
jPanel.setLayout(new BorderLayout()); |
|
279 |
jPanel.setBorder(new EmptyBorder(5, 0, 0, 0)); |
|
276 | 280 |
jPanel.setBounds(new java.awt.Rectangle(19,40,423,181)); |
277 |
jPanel.add(getJScrollPane(), null);
|
|
281 |
jPanel.add(getJScrollPane(), BorderLayout.CENTER);
|
|
278 | 282 |
} |
279 | 283 |
return jPanel; |
280 | 284 |
} |
Also available in: Unified diff