Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Bailey Evans   on Jul 04 In Java Category.

  
Question Answered By: Coleman Smith   on Jul 04

When using JFileChooser on Windows, if displays the drive letter in
the drive pull down.

Is there a way to get it to display the drive and the machine/share
name that it is mapped to?

So rather than just displaying

a:\
c:\
d:\

It will show something like

a:\ (3 1/2 Floppy)
c:\ (System)
d:\ (ShareName on MachineName)

or something similar
We aren't too bothered by labels for a: and c: drives, but are for
the other mapped drives.

Share: