http://imagej.273.s1.nabble.com/WaitForUser-not-working-tp5009331p5009343.html
> I am trying to use the WaitForUserDialog inside a plugin, but it freeze when
> used. The plugin does the following:
>
> - display a GUI with the options for the analysis (path for the images,
> ...). The analysis is triggered by a actionPerformed even in the GUI.
> - get a list of images and loop over them for the analysis
> - if required by the user, the analysis (ROI selection) could be corrected
> for every image:
> - open the image
> - display the ROI
> - correct the ROI
> - close the image
>
> So, what I need is, inside the analysis loop, to open the image, display the
> ROI, wait for the user to change/validate it and continue with the next
> image.
>
> I tried this:
>
>
>
> But all I see is the frame of the image (the image is not displayed) and the
> frame of the WaitForUserDialog, but the not t he message. When I click "OK",
> nothing happens...
>
> Following this post
> <
http://imagej.1557.x6.nabble.com/Wait-for-user-NonBlockingGenericDialog-td5005270.html>
> I tried this:
>
>
>
> But it did not work either. ImageJ does not wait for the user to click OK
> and the images and messages are only displayed when the loop is finished...
>
> Any ideas?
>
>
>
>
>
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.com/WaitForUser-not-working-tp5009331.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
>
>