This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Swing / AWT / SWT and the fly likes JFileChooser and network drives Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JFileChooser and network drives" Watch "JFileChooser and network drives" New topic
Author

JFileChooser and network drives

Matt Sloan
Greenhorn

Joined: Aug 12, 2002
Posts: 7
Is is possible for a JFileChooser to display network drives if they exist, or am I limited to the drives on the local machine?
TIA
Matt
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15229

As far as JAVA is concerned, if a network drive is mapped to a drive letter (and I am talking about Windows here because I am not sure about Linux), then JAVA will see it as a local drive. So JFileChooser should allow you to browse into them.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JFileChooser and network drives
 
Similar Threads
Is there any Browse button control in Swing ??
JFileChooser Performance
File browser crash course
Simple file browser !!!!!!
how to write coding for browse button in java swing?