Posted by
Fred Damen on
Jun 15, 2020; 11:42pm
URL: http://imagej.273.s1.nabble.com/intermittent-problem-with-NonBlockingGenericDialog-tp5023524p5023530.html
Greetings,
For GenericDialog the constructor without a requested parent, if no
ImageWindows are open then the IJ.getInstance() returned value is used. If
a null is passed in as the suggested parent then a Frame is created as the
parent, albeit, the guiScale then does not scale the GUI(s).
Fred
On Mon, June 15, 2020 4:58 pm, Kenneth Sloan wrote:
> For those motivated to look at Area_Fraction, some fine points:
>
> a) it will show up as Plugins>Stereology>Area Fraction
> b) it will ask for a "choices" file. You can Cancel this and it will use
> a default set.
> c) it will ask for an image file. Any image should work.
> d) once past the parameter setting, proceed according to the pop-up guide
> e) if you run it to completion, it will write a file to the directory
> containing the image file.
> (so...a sandbox would be good)
>
> Finally...when I change the code to pass a parent Frame to
> NonBlockingGenericDialog(message, parent) - what do you recommend? In all
> similar instances I have gotten away with passing null.
>
> --
> Kenneth Sloan
>
[hidden email]
> Vision is the art of seeing what is invisible to others.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html