Revision 41488 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.prov/org.gvsig.exportto.swing.prov.jdbc/src/main/java/org/gvsig/exportto/swing/prov/jdbc/panel/CheckGeometriesPanelLayout.java

View differences:

CheckGeometriesPanelLayout.java
29 29
    private void initComponents() {
30 30
        java.awt.GridBagConstraints gridBagConstraints;
31 31

  
32
        buttonGroup1 = new javax.swing.ButtonGroup();
32 33
        lblHeader = new javax.swing.JLabel();
33 34
        lblCheckIsCorrupt = new javax.swing.JLabel();
34 35
        rdbCheckNone = new javax.swing.JRadioButton();
......
37 38
        rdbCheckIsValid = new javax.swing.JRadioButton();
38 39
        lblCheckIsvalid = new javax.swing.JLabel();
39 40
        cboActionIsValid = new javax.swing.JComboBox();
41
        filler1 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 32767));
42
        filler2 = new javax.swing.Box.Filler(new java.awt.Dimension(16, 0), new java.awt.Dimension(16, 0), new java.awt.Dimension(16, 32767));
43
        chkTryFixGeometry = new javax.swing.JCheckBox();
40 44

  
41 45
        java.awt.GridBagLayout layout = new java.awt.GridBagLayout();
42 46
        layout.columnWidths = new int[] {0, 5, 0, 5, 0, 5, 0};
43
        layout.rowHeights = new int[] {0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0};
47
        layout.rowHeights = new int[] {0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0};
44 48
        setLayout(layout);
45 49

  
46 50
        lblHeader.setText("Validacion de la informacion geometrica");
......
50 54
        gridBagConstraints.gridwidth = 3;
51 55
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
52 56
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
57
        gridBagConstraints.weightx = 0.1;
53 58
        add(lblHeader, gridBagConstraints);
54 59

  
55 60
        lblCheckIsCorrupt.setText("Cuando la geometria este corrupta;");
......
60 65
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
61 66
        add(lblCheckIsCorrupt, gridBagConstraints);
62 67

  
68
        buttonGroup1.add(rdbCheckNone);
63 69
        rdbCheckNone.setText("No realizar ninguna comprobacion sobre las geometrias");
64 70
        gridBagConstraints = new java.awt.GridBagConstraints();
65 71
        gridBagConstraints.gridx = 2;
......
67 73
        gridBagConstraints.gridwidth = 3;
68 74
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
69 75
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
76
        gridBagConstraints.weightx = 0.1;
70 77
        add(rdbCheckNone, gridBagConstraints);
71 78

  
79
        buttonGroup1.add(rdbCheckIsCorrupt);
72 80
        rdbCheckIsCorrupt.setText("Comprobar que la geometria no este corrupta");
73 81
        gridBagConstraints = new java.awt.GridBagConstraints();
74 82
        gridBagConstraints.gridx = 2;
75 83
        gridBagConstraints.gridy = 6;
76 84
        gridBagConstraints.gridwidth = 3;
77 85
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
86
        gridBagConstraints.weightx = 0.1;
78 87
        add(rdbCheckIsCorrupt, gridBagConstraints);
79 88

  
80 89
        gridBagConstraints = new java.awt.GridBagConstraints();
......
84 93
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
85 94
        add(cboActionIsCorrupt, gridBagConstraints);
86 95

  
96
        buttonGroup1.add(rdbCheckIsValid);
87 97
        rdbCheckIsValid.setText("Comprobar la validez de las geometrias antes de insertarlas");
88 98
        gridBagConstraints = new java.awt.GridBagConstraints();
89 99
        gridBagConstraints.gridx = 2;
......
91 101
        gridBagConstraints.gridwidth = 3;
92 102
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
93 103
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
104
        gridBagConstraints.weightx = 0.1;
94 105
        add(rdbCheckIsValid, gridBagConstraints);
95 106

  
96 107
        lblCheckIsvalid.setText("Cuando la geometria no sea valida:");
......
103 114

  
104 115
        gridBagConstraints = new java.awt.GridBagConstraints();
105 116
        gridBagConstraints.gridx = 4;
117
        gridBagConstraints.gridy = 18;
118
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
119
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
120
        add(cboActionIsValid, gridBagConstraints);
121
        gridBagConstraints = new java.awt.GridBagConstraints();
122
        gridBagConstraints.gridx = 2;
123
        gridBagConstraints.gridy = 20;
124
        gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
125
        gridBagConstraints.weighty = 0.1;
126
        add(filler1, gridBagConstraints);
127
        gridBagConstraints = new java.awt.GridBagConstraints();
128
        gridBagConstraints.gridx = 2;
129
        gridBagConstraints.gridy = 0;
130
        add(filler2, gridBagConstraints);
131

  
132
        chkTryFixGeometry.setText("Intentar reparar la geometria");
133
        gridBagConstraints = new java.awt.GridBagConstraints();
134
        gridBagConstraints.gridx = 4;
106 135
        gridBagConstraints.gridy = 16;
107 136
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
108 137
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
109
        add(cboActionIsValid, gridBagConstraints);
138
        add(chkTryFixGeometry, gridBagConstraints);
110 139
    }// </editor-fold>//GEN-END:initComponents
111 140

  
112 141

  
113 142
    // Variables declaration - do not modify//GEN-BEGIN:variables
143
    protected javax.swing.ButtonGroup buttonGroup1;
114 144
    protected javax.swing.JComboBox cboActionIsCorrupt;
115 145
    protected javax.swing.JComboBox cboActionIsValid;
146
    protected javax.swing.JCheckBox chkTryFixGeometry;
147
    protected javax.swing.Box.Filler filler1;
148
    protected javax.swing.Box.Filler filler2;
116 149
    protected javax.swing.JLabel lblCheckIsCorrupt;
117 150
    protected javax.swing.JLabel lblCheckIsvalid;
118 151
    protected javax.swing.JLabel lblHeader;

Also available in: Unified diff