-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.1
-
tiger
-
x86
-
windows_nt, windows_xp
Name: jk109818 Date: 01/09/2003
FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-
b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
FULL OPERATING SYSTEM VERSION :
Windows NT Version 4.0
ADDITIONAL
OPERATING SYSTEMS :
was reported by users with other windows-versions,
could be happen on every windows with the 'hide registered extensions'-
feature.
I saw this bug actually under Windows 2000 and Java 1.4.1 too.
A DESCRIPTION OF THE PROBLEM :
If the feature 'hide extension of registered filetypes' under windows is
enabled, then the JFileChooser will hide these extensions too. That's
bad, because all files get at standard the same icon, so you cannot
differentiate files with the same name, but different extensions. If you
select the files, the name including the extension will show in the
inputline below.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Enable the 'hide extension of registered types'-feature in the windows-
explorer.
2. Instantiate a JFileChooser.
3. Change to a directory,
which contains files of a registered type.
EXPECTED VERSUS ACTUAL BEHAVIOR :
In the normal windows-filechooser the different filetypes will be shown
through different icons.
Because the JFileChooser uses only one icon
for files, the extensions should be showed.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER WORKAROUND :
Disable the hiding of extensions in the windows-explorer.
(Review ID: 178842)
======================================================================
- duplicates
-
JDK-4507046 The file chooser motif does not return the file type on Windows
-
- Closed
-