IntegerField raMinutes = new IntegerField("Minutes", 0, 60, null);
DoubleField raSeconds = new DoubleField("Seconds", 0.0, 60.0, null);
MultiEntryComponentDialog dialog = new MultiEntryComponentDialog(
"RA (B1950.0)", raHours, raMinutes, raSeconds);
RAInfo raInfo = null;
if (!dialog.isCancelled()) {
raInfo = new RAInfo(1950, raHours.getValue(), raMinutes.getValue(),
raSeconds.getValue());
}
return raInfo;
}