Revision 3039 trunk/extensions/extGeoreferencing/src/com/iver/cit/gvsig/gui/Panels/OptionsPanel.java

View differences:

OptionsPanel.java
23 23
	private JPanel pGeneral = null;
24 24
	private JPanel pCalcErrores = null;
25 25
	private JCheckBox jCheckBox = null;
26
	private JPanel jPanel = null;
27 26
	private JLabel jLabel = null;
28 27
	/**
29 28
	 * This is the default constructor
......
40 39
	 */
41 40
	private void initialize() {
42 41
        this.setLayout(new BorderLayout());
43
        this.setPreferredSize(new java.awt.Dimension(400,75));
44
        this.setSize(new java.awt.Dimension(400,75));
42
        this.setPreferredSize(new java.awt.Dimension(380,20));
43
        this.setSize(new java.awt.Dimension(380,20));
45 44
        this.setLocation(new java.awt.Point(0,0));
46 45
        this.add(getPGeneral(), java.awt.BorderLayout.CENTER);
47 46
	}
......
53 52
	 */    
54 53
	private JPanel getPGeneral() {
55 54
		if (pGeneral == null) {
56
			GridBagConstraints gridBagConstraints7 = new GridBagConstraints();
57 55
			GridBagConstraints gridBagConstraints5 = new GridBagConstraints();
58 56
			pGeneral = new JPanel();
59 57
			pGeneral.setLayout(new GridBagLayout());
60
			pGeneral.setPreferredSize(new java.awt.Dimension(400,75));
58
			pGeneral.setPreferredSize(new java.awt.Dimension(380,20));
61 59
			gridBagConstraints5.gridx = 0;
62 60
			gridBagConstraints5.gridy = 0;
63 61
			gridBagConstraints5.anchor = java.awt.GridBagConstraints.CENTER;
64 62
			gridBagConstraints5.gridheight = 1;
65 63
			gridBagConstraints5.gridwidth = 1;
66
			gridBagConstraints7.gridx = 0;
67
			gridBagConstraints7.gridy = 2;
68
			gridBagConstraints7.gridheight = 1;
69
			gridBagConstraints7.gridwidth = 1;
70 64
			pGeneral.add(getPCalcErrores(), gridBagConstraints5);
71
			pGeneral.add(getJPanel(), gridBagConstraints7);
72 65
		}
73 66
		return pGeneral;
74 67
	}
......
83 76
			FlowLayout flowLayout6 = new FlowLayout();
84 77
			pCalcErrores = new JPanel();
85 78
			pCalcErrores.setLayout(flowLayout6);
86
			pCalcErrores.setPreferredSize(new java.awt.Dimension(400,20));
79
			pCalcErrores.setPreferredSize(new java.awt.Dimension(380,20));
87 80
			flowLayout6.setAlignment(java.awt.FlowLayout.LEFT);
88
			flowLayout6.setHgap(0);
81
			flowLayout6.setHgap(10);
89 82
			flowLayout6.setVgap(0);
90 83
			jLabel.setText(PluginServices.getText(this,"calcular_errores"));
91 84
			jLabel.setPreferredSize(new java.awt.Dimension(250,15));
......
108 101
		}
109 102
		return jCheckBox;
110 103
	}
111
	/**
112
	 * This method initializes jPanel	
113
	 * 	
114
	 * @return javax.swing.JPanel	
115
	 */    
116
	private JPanel getJPanel() {
117
		if (jPanel == null) {
118
			FlowLayout flowLayout8 = new FlowLayout();
119
			jPanel = new JPanel();
120
			jPanel.setLayout(flowLayout8);
121
			jPanel.setPreferredSize(new java.awt.Dimension(400,25));
122
			flowLayout8.setHgap(0);
123
			flowLayout8.setVgap(0);
124
		}
125
		return jPanel;
126
	}
127
    }
104
}

Also available in: Unified diff