Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6927978

Directory Selection standard dialog support

    Details

    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic, os_x

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  serb Sergey Bylokhov
                  Reporter:
                  anthony Anthony Petrov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Imported:
                    Indexed: