Login  Register

Re: Manual choice within a GenericDialog

Posted by Herbie on Jul 06, 2020; 7:19am
URL: http://imagej.273.s1.nabble.com/Manual-choice-within-a-GenericDialog-tp5023615p5023626.html

Dear Gabriel and Kenneth,

as initially mentioned by Philippe (thanks!), I strongly suggest to use the
DialogListener-approach.

Why?

The reason is mainly a socio-psychological one:
The number of users who are willing to read manuals is rapidly decreasing
which means that creating user interfaces needs more care than in older days
in order to avoid inadequate software use  Gen_Dialog.class
<http://imagej.1557.x6.nabble.com/file/t380516/Gen_Dialog.class>  .

Attached please find an example GUI using an IJ-GeneralDialog that shows
what can be done with the according IJ-API.

Best regards

Herbie

:::::::::::::::::::::::::::::::::::::::::::::


Gabriel Landini wrote
> I suppose that the way to enable/disable a field based on the setting of
> another field is to use the DialogListener.
> A few plugins use that.
>
> Cheers
> Gabriel
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html





--
Sent from: http://imagej.1557.x6.nabble.com/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html