-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0, 1.3.0
-
x86
-
windows_98, windows_nt
Name: krT82822 Date: 08/12/99
Unlike the AWT FileChooser, the JFC JFileChooser does not provide any access to the "Network Neighborhood" on Windows 95 or NT. This means that unless a drive has been mapped, files or directories on remote machines cannot be browsed. This is a fairly debilitating bug.
8/12/99 rkr -- couldn't find dupe bug. FIling new one.
(Review ID: 93811)
======================================================================
Name: ks88420 Date: 09/06/2000
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
I am using a peer-to-peer network which is included in Windows 98 (Second
edition).
In addition to my floppy (A:), hard disk(C:), and CD-Rom (D:) drives,
drive letters E:, G: have been assigned to directories on a different computer
which also uses Windows 98 (Second edition).
The following code fragments shows how JFileChooser is used to display a file
dialog:
code fragment begins
JFileChooser chooser;
int result;
WDBFilter filter;
// Create File Chooser
chooser = new JFileChooser(this.lastDir);
// Setup File Filter
filter = new WDBFilter();
chooser.setFileFilter(filter);
// Display Chooser and get Result
result = chooser.showOpenDialog(this);
code fragment ends
In JFileChooser's "Look in" list, all drive letters (A:,C:,D:,E:,G:) are listed.
But whenever I select one of the letters belonging to a directory on another
computer (E: or G:), JFileChooser tries to list the contents of the A: floppy
drive
instead.
Interestingly, when the lastDir field in the constructor call
new JFileChooser(this.lastDir)
in the above code fragment already contains a path on the E: drive, e.g., this
drive's contents are correctly listed. The above problems occurs only when the
"Look in" list is used to switch to a different drive and this drive is on
another computer.
(Review ID: 109250)
======================================================================
- duplicates
-
JDK-4259695 RFE: Enumerate Network File Resources in JFileChooser
-
- Resolved
-