// Request the B1950.0 Dec in DD:MM:SS.n
public DecInfo requestDec() {
IntegerField raHours = new IntegerField("Degrees", -90, 90, null);
IntegerField raMinutes = new IntegerField("Minutes", 0, 60, null);
DoubleField raSeconds = new DoubleField("Seconds", 0.0, 60.0, null);
MultiEntryComponentDialog dialog = new MultiEntryComponentDialog(
"Dec (B1950.0)", raHours, raMinutes, raSeconds);
DecInfo decInfo = null;
if (!dialog.isCancelled()) {
decInfo = new DecInfo(1950, raHours.getValue(), raMinutes
.getValue(), raSeconds.getValue());
}
return decInfo;