Login  Register

Re: Manual choice within a GenericDialog

Posted by Kenneth Sloan-2 on Jul 05, 2020; 6:31pm
URL: http://imagej.273.s1.nabble.com/Manual-choice-within-a-GenericDialog-tp5023615p5023619.html

As I understand the question - and given that you prefer to not open a second dialog - I would create a dialog with a Choice field *and* a following String field.  If the user selects one of the pre-programmed Choices, you simply ignore the String.  

This isn't quite as nice looking as allowing the user to type into the Choice field, but it seems close enough.

--
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