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

Spec change: FileDialog doesn't support property change on fly

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      generic

      Description

      There are several setters in the FileDialog class that needs to be fixed:

      void setDirectory(String dir)
      void setFilenameFilter(FilenameFilter filter)
      void setMode(int mode)
      void setMultipleMode(boolean enable) // upcoming

      Javadoc for the setFile method explicitly says:

      " ... This file becomes the default file if it is set before the file dialog window is first shown ... "

      Similar note should be added to the spec for other setters.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dcherepanov Dmitry Cherepanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: