Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JFileChooser and network drives

 
Matt Sloan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic