Dialog box without forced focus

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Dialog box without forced focus

derFabian
Dear list,

I have written a macro which applies a couple of filters and overlays the result with the original image. Everything happens within a loop at the end of which the user can give feedback. If he/she is happy, the loop terminates; if not, everything is repeated with different settings. I am currently using getBoolean() for the feedback. My problem is that the image is a stack and to really evaluate whether he is happy the user needs to be able to scroll through it. However, once the MessageBox is displayed no other windows can be selected. Is there a way to create a message box without forced focus?

Thanks a lot.

Best,
Fabian
Reply | Threaded
Open this post in threaded view
|

Re: Dialog box without forced focus

karo03
... try macro function waitForUser() !
Regards
Karsten

Am 26.02.2013 um 13:14 schrieb derFabian <[hidden email]>:

> Dear list,
>
> I have written a macro which applies a couple of filters and overlays the
> result with the original image. Everything happens within a loop at the end
> of which the user can give feedback. If he/she is happy, the loop
> terminates; if not, everything is repeated with different settings. I am
> currently using getBoolean() for the feedback. My problem is that the image
> is a stack and to really evaluate whether he is happy the user needs to be
> able to scroll through it. However, once the MessageBox is displayed no
> other windows can be selected. Is there a way to create a message box
> without forced focus?
>
> Thanks a lot.
>
> Best,
> Fabian
>
>
>
> --
> View this message in context: http://imagej.1557.n6.nabble.com/Dialog-box-without-forced-focus-tp5001885.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Karsten
[hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Dialog box without forced focus

derFabian
That's it. Thank you!