> "Andrew Thompson" <SeeMySites@www.invalid> wrote in message...
>>
>>> Although I setDirectory to a "c:/base/" (which exist),
>>> my fileDialog don't open in a main directory of my application
>>
>> Try this sample..
..
>> File file = new File(myDirectory);
>> System.out.println("Directory: " + file +
>> " / " + file.exists());
..
> I got user directory, but although directory "c:/base/" exists
> I didn't get it in a FileDialog.
Please copy/paste the exact string you got at System.out.println()

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
Tux - 28 Sep 2004 23:12 GMT
>> "Andrew Thompson" <SeeMySites@www.invalid> wrote in message...
>>>
[quoted text clipped - 11 lines]
>
> Please copy/paste the exact string you got at System.out.println()
OK. I tried .setDirectory(file.toString) and it works.
Thank you on your patience.
Andrew Thompson - 28 Sep 2004 23:22 GMT
> OK. I tried .setDirectory(file.toString) and it works.
Woohoo! I knew you'd get there. :-)
> Thank you on your patience.
You're welcome.

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane