Login  Register

File selection in GenericDialog

Posted by Nico Stuurman on Aug 17, 2017; 8:31pm
URL: http://imagej.273.s1.nabble.com/File-selection-in-GenericDialog-tp5019222.html

I am in the process of writing a plugin that takes about 6 file paths in
its input.  I would like to use a GenericDialog for user input (to
ensure that the plugin will be macro-recordable), but can not seem to
find an easy way to add the standard button with three dots (i.e. "...")
that the user can click to open a File (or Directory) Open Dialog to
populate the text field with that information.  Is there a way of doing
this with the existing GenericDialog, or should I extend GenericDialog
to add such functionality?

Thanks for your help!

Best,

Nico

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