Revision 6703 trunk/extensions/extJDBC/src/com/iver/cit/gvsig/jdbc_spatial/gui/jdbcwizard/ConnectionPanel.java
ConnectionPanel.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
import javax.swing.DefaultComboBoxModel; |
11 | 11 |
import javax.swing.JLabel; |
12 |
import javax.swing.JOptionPane; |
|
13 | 12 |
import javax.swing.JPanel; |
14 | 13 |
import javax.swing.JPasswordField; |
15 | 14 |
import javax.swing.JTextField; |
... | ... | |
144 | 143 |
private JTextField getTxtHost() { |
145 | 144 |
if (txtHost == null) { |
146 | 145 |
txtHost = new JTextField(); |
147 |
txtHost.setPreferredSize(new java.awt.Dimension(120, 19));
|
|
146 |
txtHost.setPreferredSize(new java.awt.Dimension(170, 19));
|
|
148 | 147 |
txtHost.setName("txtHost"); |
149 | 148 |
} |
150 | 149 |
|
... | ... | |
158 | 157 |
*/ |
159 | 158 |
private JPanel getJPanelTexts() { |
160 | 159 |
if (jPanelTexts == null) { |
161 |
FlowLayout flowLayout2 = new FlowLayout();
|
|
160 |
FlowLayout flowLayout2 = new FlowLayout(FlowLayout.LEFT);
|
|
162 | 161 |
flowLayout2.setVgap(15); |
163 | 162 |
jPanelTexts = new JPanel(); |
164 | 163 |
jPanelTexts.setLayout(flowLayout2); |
165 |
jPanelTexts.setPreferredSize(new java.awt.Dimension(150,400));
|
|
164 |
jPanelTexts.setPreferredSize(new java.awt.Dimension(200,400));
|
|
166 | 165 |
|
167 | 166 |
jPanelTexts.setName("jPanelText"); |
168 | 167 |
jPanelTexts.add(getCmbName(), null); |
... | ... | |
202 | 201 |
private JTextField getTxtUser() { |
203 | 202 |
if (txtUser == null) { |
204 | 203 |
txtUser = new JTextField(); |
205 |
txtUser.setPreferredSize(new java.awt.Dimension(120, 19));
|
|
204 |
txtUser.setPreferredSize(new java.awt.Dimension(170, 19));
|
|
206 | 205 |
txtUser.setName("txtUser"); |
207 | 206 |
} |
208 | 207 |
|
... | ... | |
217 | 216 |
private JPasswordField getTxtPassword() { |
218 | 217 |
if (txtPassword == null) { |
219 | 218 |
txtPassword = new JPasswordField(); |
220 |
txtPassword.setPreferredSize(new java.awt.Dimension(120, 19));
|
|
219 |
txtPassword.setPreferredSize(new java.awt.Dimension(170, 19));
|
|
221 | 220 |
txtPassword.setName("txtPassword"); |
222 | 221 |
} |
223 | 222 |
|
... | ... | |
232 | 231 |
private JTextField getTxtBD() { |
233 | 232 |
if (txtBD == null) { |
234 | 233 |
txtBD = new JTextField(); |
235 |
txtBD.setPreferredSize(new java.awt.Dimension(120, 19));
|
|
234 |
txtBD.setPreferredSize(new java.awt.Dimension(170, 19));
|
|
236 | 235 |
txtBD.setName("txtBD"); |
237 | 236 |
} |
238 | 237 |
|
... | ... | |
401 | 400 |
private JComboBox getCmbDriver() { |
402 | 401 |
if (cmbDriver == null) { |
403 | 402 |
cmbDriver = new JComboBox(); |
404 |
cmbDriver.setPreferredSize(new java.awt.Dimension(120, 19));
|
|
403 |
cmbDriver.setPreferredSize(new java.awt.Dimension(170, 19));
|
|
405 | 404 |
cmbDriver.setName("cmbDriver"); |
406 | 405 |
cmbDriver.addActionListener(new ActionListener() { |
407 | 406 |
public void actionPerformed(ActionEvent e) { |
... | ... | |
457 | 456 |
if (cmbName == null) { |
458 | 457 |
cmbName = new com.iver.utiles.swing.JComboBox(); |
459 | 458 |
cmbName.setEditable(true); |
460 |
cmbName.setPreferredSize(new java.awt.Dimension(120, 19));
|
|
459 |
cmbName.setPreferredSize(new java.awt.Dimension(170, 19));
|
|
461 | 460 |
cmbName.setModel(new DefaultComboBoxModel()); |
462 | 461 |
cmbName.addActionListener(new ActionListener() { |
463 | 462 |
public void actionPerformed(ActionEvent e) { |
... | ... | |
494 | 493 |
if (jPanel == null) { |
495 | 494 |
jPanel = new JPanel(); |
496 | 495 |
jPanel.setLayout(new BorderLayout()); |
497 |
jPanel.setBounds(0, 0, 311, 240);
|
|
496 |
jPanel.setBounds(0, 0, 400, 240);
|
|
498 | 497 |
jPanel.add(getJPanelLabels(), java.awt.BorderLayout.WEST); |
499 | 498 |
jPanel.add(getJPanelTexts(), java.awt.BorderLayout.EAST); |
500 | 499 |
} |
Also available in: Unified diff