Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Choosers

 
nisha Sham
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic