else if (items.length == 3) {
point = parseValues(items[0].trim(), items[1].trim(), items[2].trim());
}
else if (items.length == 3) {
point = parseValues(items[0].trim(), items[1].trim(), items[2].trim());
}
// Splitting with commas didn't work, so try spaces
items = _coordField.getText().split(" ");
if (items.length == 2) {
// Splitting with commas didn't work, so try spaces
items = _coordField.getText().split(" ");
if (items.length == 2) {
I18nManager.getText("dialog.pastecoordinates.nothingfound"),
I18nManager.getText(getNameKey()), JOptionPane.ERROR_MESSAGE);
}
I18nManager.getText("dialog.pastecoordinates.nothingfound"),
I18nManager.getText(getNameKey()), JOptionPane.ERROR_MESSAGE);
}
// See if name was entered
String name = _nameField.getText();
if (name != null && name.length() > 0) {
// See if name was entered
String name = _nameField.getText();
if (name != null && name.length() > 0) {