This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes File Choosers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "File Choosers " Watch "File Choosers " New topic
Author

File Choosers

nisha Sham
Greenhorn

Joined: Jun 12, 2002
Posts: 19
I need to use the JFileChooser() constructor to open a file which is in the network path.
But all the constructors are support to open the files in the user's home directory.
Could anybody help me to display the dialog box including the Network Neighborhood.
Thank
Nisha
Snigdha Solanki
Ranch Hand

Joined: Sep 07, 2000
Posts: 128
I don't think it is possible in the current version of JSDK. There is an article on Sun Java site regarding Swing API changes for JSDK 1.4 version. Do check the section on JFileChooser.


Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Choosers