-
Enhancement
-
Resolution: Unresolved
-
P3
-
7
-
generic, x86
-
generic, os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2225085 | 7u40 | Sergey Bylokhov | P3 | Closed | Won't Fix |
Some native systems (eg. Windows, GTK) have a standard dialog that supports directory selection. However, the java.awt.FileDialog supports selecting files only.
There needs to be either a new class (like DirectoryDialog), or an additional mode introduced to the FileDialog.
CAP member had requested the same feature through recent JDK 7 CAP program survey:
FileDialog still lacks two important features for a file and image centric desktop application:
* Missing the ability to set the FileDialog to select directories only
* Missing the ability to set the FileDialog to "Thumbnail view mode".
This is very important as our application deals with images.
Please address these two issues and we will be happy with JDK/JRE7.
If these features are not supported by a certain underlaying platform, so be it.
In such cases we can revert to a Swing JFileChooser instead.
By having an "isXYZsupported() method the developer can make a smart choice.
There needs to be either a new class (like DirectoryDialog), or an additional mode introduced to the FileDialog.
CAP member had requested the same feature through recent JDK 7 CAP program survey:
FileDialog still lacks two important features for a file and image centric desktop application:
* Missing the ability to set the FileDialog to select directories only
* Missing the ability to set the FileDialog to "Thumbnail view mode".
This is very important as our application deals with images.
Please address these two issues and we will be happy with JDK/JRE7.
If these features are not supported by a certain underlaying platform, so be it.
In such cases we can revert to a Swing JFileChooser instead.
By having an "isXYZsupported() method the developer can make a smart choice.
- backported by
-
JDK-2225085 Directory Selection standard dialog support
-
- Closed
-
- relates to
-
JDK-7161437 [macosx] awt.FileDialog doesn't respond appropriately for mac when selecting folders
-
- Resolved
-
-
JDK-7125172 FileDialog objects don't allow directory AND files selection simultaneously
-
- Open
-