if (!wantAllData) {
// Valid Julian Date range?
try {
String minJDText = minJDField.getText();
minDate = new DateInfo(NumberParser.parseDouble(minJDText));
} catch (NumberFormatException e) {
MessageBox.showErrorDialog(Mediator.getUI().getComponent(),
"Minimum Julian Day", e);
}
try {
String maxJDText = maxJDField.getText();
maxDate = new DateInfo(NumberParser.parseDouble(maxJDText));
} catch (NumberFormatException e) {
MessageBox.showErrorDialog(Mediator.getUI().getComponent(),
"Maximum Julian Day", e);
}
}