• Post Reply Bookmark Topic Watch Topic
  • New Topic

Network file in JFiLechooser

 
Mahua d Dutta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Need some help..regarding JFileChooser
By default Network neighbourhood is not been shown in JFilechooser folder options..
My problem is I want to select file in network using network neigbour hood
How can I do that?
Can any one help me?
Thanks
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This won't help you get the Network Neighborhood in there, but you can map a network drive to a drive letter then it will show up in the FileChooser. You can also use the subst command from a DOS prompt to create a virtual drive. Both of these methods will allow you to accessa network file from a Java FileChooser.
Brian
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!