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

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

XMLWordPrintable

    • x86
    • generic

      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.

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

              Created:
              Updated:
              Imported:
              Indexed: