Re: Pause in a java plugin program

Posted by meastwood98 on
URL: http://imagej.273.s1.nabble.com/Pause-in-a-java-plugin-program-tp3697005p3697015.html

ok i've got the macro waitForUser(string); fine but cannot get this to work in the java plugin, can anyone give me the code to do this?

Thankyou
Mark


Aryeh Weiss wrote
meastwood98 wrote:
> If i wanted to put a pause in my java plugin program so that the user could
> select and cut part of the image and then press an "ok" type button to carry
> on with the program, is this possible and if so how?
>

Try this:

http://imagejdocu.tudor.lu/imagej-documentation-wiki/plugins/wait_for_user

A while ago Michael Schmid pointed me at this, and it solved my problem, so I am
just passing the favor on.

--aryeh
--
Aryeh Weiss
School of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384050