This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
Swing JFileChooser
Applets-----To------HTML page .....How?
Manage Network Files
Find out who has file open on network
non-networked and network mode