Login  Register

Re: No Title in Directory Folder Picker

Posted by Kenneth Sloan-2 on Mar 01, 2019; 7:13pm
URL: http://imagej.273.s1.nabble.com/No-Title-in-Directory-Folder-Picker-tp5021856p5021860.html

My usual work-around is to display the prompt message as a status.

In Java:

        String message = "Choose a directory...";
        IJ.showStatus(message);
        DirectoryChooser dc = new DirectoryChooser(message);

Others have suggested other fixes, but this was the easiest method for me.


--
Kenneth Sloan
[hidden email]
Vision is the art of seeing what is invisible to others.





> On Mar 1, 2019, at 12:07, Robert Lockwood <[hidden email]> wrote:
>
> In my macro the user is to provide both a source directory and a
> destination directory but in MacOS 10.14.03, Mojave, there is no title in
> the folder picker.
>
> Macro:
>  input = getDirectory("Select Source Directory ");
>  output = getDirectory("Choose Destination Directory ");
>
> Google has not been my friend, today.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html


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