AWT FileDialog spec has incomplete information about two constructors

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: docs
    • beta
    • generic
    • generic


      The FileDialog spec says the following about the
      FileDialog(Frame) and FileDialog(Frame,String,int)
      constructors:
      public FileDialog(Frame parent)
          Creates a file dialog for loading a file. The title of the file dialog
          is initially empty.
          Parameters:
              parent - the owner of the dialog

      public FileDialog(Frame parent,
                        String title,
                        int mode)
          Creates a file dialog window with the specified title for loading
          or saving a file.

          If the value of mode is LOAD, then the file dialog is finding a file
          to read. If the value of mode is SAVE, the file dialog is finding a
          place to write a file.
          Parameters:
              parent - the owner of the dialog.
              title - the title of the dialog.
              mode - the mode of the dialog.
          See Also:
                  LOAD, SAVE



      The spec does not specify that when the file dialog created by these
      constructors is displayed, the files shown are those in the current
      directory.

            Assignee:
            Sharon Zakhour (Inactive)
            Reporter:
            Gauri Sharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: