Login  Register

Re: Preselected path for ij.io.DirectoryChooser?

Posted by Michael Schmid on May 10, 2010; 8:08am
URL: http://imagej.273.s1.nabble.com/Preselected-path-for-ij-io-DirectoryChooser-tp3688355p3688356.html

Hi Tamjid,

you can use setDefaultDirectory(String dir), that's what it is good  
for. You can even use it from a macro with a call
("ij.io.DirectoryChooser.setDefaultDirectory", dir); macro command.

Michael
________________________________________________________________

On 10 May 2010, at 06:20, Md Tamjidul Hoque wrote:

> Dear All
>
>            is it possible to call DirectoryChooser such a way that  
> it can start with a particular path / directory?
>
> By the way, I think "setDefaultDirectory" can not be used or can we?
>
> Any suggestion?
>
> Thanks
> Tamjid
>