Login  Register

retrieve specific string/number from dialog box

Posted by mmettlen on Mar 03, 2014; 12:56pm
URL: http://imagej.273.s1.nabble.com/retrieve-specific-string-number-from-dialog-box-tp5006741.html

If one has a dialog box with multiple strings or numbers, e.g.:

Dialog.create("Values");
Dialog.addNumber("first value", value1);
Dialog.addNumber("second value", value2);
.
.
.
Dialog.show();

Is there a way to extract specific values, i.e. can I somehow get value2 before getting value1?