gd.addNumericField("Y Coordinate:", yRoi, digits);
if (stackSize>1)
gd.addNumericField("Slice:", iSlice, 0);
gd.addCheckbox("Oval", oval);
gd.addCheckbox("Centered",centered);
if (cal.scaled())
gd.addCheckbox("Scaled Units ("+cal.getUnits()+")", scaledUnits);
fields = gd.getNumericFields();
gd.addDialogListener(this);
gd.showDialog();
if (gd.wasCanceled()) {