Revision 10071 trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/panels/WFSAreaPanel.java
WFSAreaPanel.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import javax.swing.JButton; |
31 | 31 |
|
32 |
import org.gvsig.gui.beans.comboBoxItemsSeeker.JComboBoxItemsSeekerConfigurable; |
|
32 | 33 |
import org.gvsig.gui.beans.swing.jTextFieldWithSpecificCaretPosition.JTextFieldWithSpecificCaretPosition; |
33 | 34 |
|
34 | 35 |
|
... | ... | |
77 | 78 |
* |
78 | 79 |
* $Id$ |
79 | 80 |
* $Log$ |
80 |
* Revision 1.8 2007-01-26 14:23:56 ppiqueras |
|
81 |
* Revision 1.9 2007-02-02 12:22:03 ppiqueras |
|
82 |
* Mejorada la interfaz. |
|
83 |
* |
|
84 |
* Revision 1.8 2007/01/26 14:23:56 ppiqueras |
|
81 | 85 |
* Mejorada la interfaz |
82 | 86 |
* |
83 | 87 |
* Revision 1.7 2007/01/25 14:37:16 ppiqueras |
... | ... | |
516 | 520 |
*/ |
517 | 521 |
private JComboBox getJComboBoxZoomInAndOutViewCentered() { |
518 | 522 |
if (jComboBoxZoomInAndOutViewCentered == null) { |
519 |
jComboBoxZoomInAndOutViewCentered = new JComboBox(); |
|
523 |
jComboBoxZoomInAndOutViewCentered = new JComboBoxItemsSeekerConfigurable();
|
|
520 | 524 |
jComboBoxZoomInAndOutViewCentered.setBounds(DEFAULT_ZOOMINANDOUTVIEWCENTERED_COMBOBOX_RECTANGLE); |
521 | 525 |
// jComboBoxZoomInAndOut.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/Pan.png"))); |
522 | 526 |
} |
... | ... | |
1021 | 1025 |
private void validateCoordinate(JTextField coordinate) { |
1022 | 1026 |
if (coordinate != null) { |
1023 | 1027 |
// If the format of the coordinate is incorrect, shows a message warning the user that problem and resets the coordinate text |
1024 |
if ((coordinate.getText().compareTo("") != 0) &&(! StringNumberUtilities.isRealNumber(coordinate.getText()))) { |
|
1028 |
if ((coordinate.getText().compareTo("") != 0) &&(! StringNumberUtilities.isExponentialRealNumber(coordinate.getText()))) {
|
|
1025 | 1029 |
JOptionPane.showMessageDialog(this, PluginServices.getText(null, "incorrect_coordinate_format"), PluginServices.getText(null, "error"), JOptionPane.ERROR_MESSAGE); |
1026 | 1030 |
coordinate.setText(""); // Reset text |
1027 | 1031 |
} |
Also available in: Unified diff