-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6
-
x86
-
windows_vista
FULL PRODUCT VERSION :
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.0.6001]
A DESCRIPTION OF THE PROBLEM :
It is not possible to use own FileSystemView, because BasicFileChooserUI do not care about client property "FileChooser.useShellFolder" and following line:
ShellFolder shellFolder = ShellFolder.getShellFolder(dir);
in function changeDirectory(File dir) always leads to FileNotFoundException.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Open file chooser which uses own FileSystemView to handle remote files (files and directories can not be visible in Windows system).
2. Try to entrer any sub-directory.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect that when I double click on any sub-directory from my FileSystemView then file chooser enter to selected sub-directory.
ACTUAL -
"changeDirectory(File dir)" function cateches FileNotFoundException and quits. Form user site nothing happends. Entering sub-directories on own file system is not possible.
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.0.6001]
A DESCRIPTION OF THE PROBLEM :
It is not possible to use own FileSystemView, because BasicFileChooserUI do not care about client property "FileChooser.useShellFolder" and following line:
ShellFolder shellFolder = ShellFolder.getShellFolder(dir);
in function changeDirectory(File dir) always leads to FileNotFoundException.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Open file chooser which uses own FileSystemView to handle remote files (files and directories can not be visible in Windows system).
2. Try to entrer any sub-directory.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect that when I double click on any sub-directory from my FileSystemView then file chooser enter to selected sub-directory.
ACTUAL -
"changeDirectory(File dir)" function cateches FileNotFoundException and quits. Form user site nothing happends. Entering sub-directories on own file system is not possible.
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-6698013 JFileChooser can no longer navigate non-local file systems.
-
- Closed
-