In Swing's JFileChooser, the local drives are accessible but not the mapped network drives (on Windows platform). How can I see the network drives?

Sandip Chitale

First of all I do think that JFileChooser does show the network drive if it was mapped (i.e. has a drive letter) before the JFileChooser was created.

What it does not show is the UNC based names like emote_machine emote_share_name or the network neighbourhood.

The following FAQ also may be related to what you are looking for.

You call always augment the functionality of JFileChooser using the Accessory mechanism -


Installing the a custom FileSystemView

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact