Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / November 2003

Tip: Looking for answers? Try searching our database.

jfilechooser problems on networked drives

Thread view: 
Scott Bolland - 04 Nov 2003 04:03 GMT
Hey Guys,

I cannot seem to get JFileChooser to detect files/folders in networked
drives under windows. Any suggestions in getting around this problem would
be greatly appreciated.

Cheers,

Scott.
Babu Kalakrishnan - 04 Nov 2003 11:42 GMT
> Hey Guys,
>
> I cannot seem to get JFileChooser to detect files/folders in networked
> drives under windows. Any suggestions in getting around this problem would
> be greatly appreciated.

If I recall correctly, Network Neighbourhood does appear as an entry
among the root drives (and you can browse the network from there)- at
least in JDK 1.4.2  I'm not sure if this feature existed in JDK 1.3, but
I think you could still access them by explicitly switching to a known
network path (starting with the "\\\\" string).

May be this is true for only some flavours of WinXX / JDK combinations,
but I'm certain I have seen it work..

In the worst case, try mapping the network path to a drive.

BK
Steve W. Jackson - 04 Nov 2003 15:22 GMT
>:Scott Bolland wrote:
>:> Hey Guys,
[quoted text clipped - 15 lines]
>:
>:BK

That's precisely what we found to be the case in our development -- that
1.3.1 and earlier worked only with mapped drives or explicitly typed UNC
style path names.  But in 1.4, on both Win2K and XP, the file chooser is
"more robust" and offers network locations all on its own.

= Steve =
Signature

Steve W. Jackson
Montgomery, Alabama



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.