-
Bug
-
Resolution: Duplicate
-
P4
-
7
-
generic
-
generic
SYNOPSIS
--------
Incorrect warning during new folder creation in detail view
OPERATING SYSTEM
----------------
Likely Generic.
Reported on Windows XP.
Reproducible on Solaris x86.
FULL JDK VERSION
----------------
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b134)
Java HotSpot(TM) Client VM (build 21.0-b04, mixed mode)
Does not occur with Java 6.
DESCRIPTION
-----------
When trying to rename a new folder after it is created in detail view of FileChooser a warning appears:
"Cannot rename New Folder: A file with the name you specified
already exists. Specify a different file name."
The warning is incorrect. The folder IS actually created and renamed successfully.
REPRODUCTION INSTRUCTIONS
-------------------------
1. Use SwingSet2 demo (Java -jar SwingSet2.jar), which is available in
demo package
2. Go to file chooser demo
3. Click plain file chooser button
4. Click on the detail view icon or button
5. Click on 'create new folder' icon button
6. You can see that a directory is created with the name 'New Folder'.
You can change the name if you want to, but it's not necessary.
7. Press Enter on the keyboard.
8. You will see the incorrect warning appear. The folder will be created.
WORKAROUND:
-----------
None
--------
Incorrect warning during new folder creation in detail view
OPERATING SYSTEM
----------------
Likely Generic.
Reported on Windows XP.
Reproducible on Solaris x86.
FULL JDK VERSION
----------------
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b134)
Java HotSpot(TM) Client VM (build 21.0-b04, mixed mode)
Does not occur with Java 6.
DESCRIPTION
-----------
When trying to rename a new folder after it is created in detail view of FileChooser a warning appears:
"Cannot rename New Folder: A file with the name you specified
already exists. Specify a different file name."
The warning is incorrect. The folder IS actually created and renamed successfully.
REPRODUCTION INSTRUCTIONS
-------------------------
1. Use SwingSet2 demo (Java -jar SwingSet2.jar), which is available in
demo package
2. Go to file chooser demo
3. Click plain file chooser button
4. Click on the detail view icon or button
5. Click on 'create new folder' icon button
6. You can see that a directory is created with the name 'New Folder'.
You can change the name if you want to, but it's not necessary.
7. Press Enter on the keyboard.
8. You will see the incorrect warning appear. The folder will be created.
WORKAROUND:
-----------
None
- duplicates
-
JDK-7021058 The Create folder button produces error in the Details mode (JFileChooser)
- Closed