Re: Pause in a program to ask user for information

Posted by Michael Schmid on
URL: http://imagej.273.s1.nabble.com/Pause-in-a-program-to-ask-user-for-information-tp3697020p3697021.html

Hi Mark,

for a general dialog, what about the GenericDialog Class of
ImageJ?

If the input is a single number or String, it is easier to use
   IJ.getNumber or IJ.getString

Dialogs with methods are also recorded by the Macro Recorder.

Michael
________________________________________________________________

On 5 Mar 2008, at 14:11, meastwood98 wrote:

> Hi further to my question
> http://www.nabble.com/Pause-in-a-java-plugin-program- 
> to15617844.html#a15617844
> "Pause in a Program" , I would like to know if it possible to say  
> ask the
> user how many times he wants to run the specific program, say for  
> example
> instead of the "ok" button, have a couple of options. Is this  
> possible?
>
> I hope this is clear,
> Thanks,
> Mark
>
> P.S. See the 2nd answer from Wayne Rasband on the previous "Pause in a
> Program", to see how i have done that, im am using an imageJ plugin  
> written in java.