Login  Register

Re: Dialog.create not working when using toolbar

Posted by Michael Schmid on Jan 12, 2011; 9:28am
URL: http://imagej.273.s1.nabble.com/Dialog-create-not-working-when-using-toolbar-tp3686021p3686024.html

Hi Dan,

probably it depends on the operating system whether you see the files  
when choosing a folder with 'getDirectory'.
On Mac OS X, you can see the files, but they are grayed out and you  
can't select them.

Michael
________________________________________________________________

On 11 Jan 2011, at 18:55, tankhead wrote:

> Wayne,
>
> Thanks for the help!  When using the following code to take in a whole
> folder I am unable to see the files in the folder.  I was wondering  
> if there
> was a way to bring in a folder while still being able to see the  
> files from
> within the folder the user is selecting.
>
> dir=getDirectory("Choose a  Source Directory ");
> list = getFileList(dir);
>
> Thanks,
> -Dan