FileDialog created with FileDialog(Frame) has title, contrary to what spec says

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 1.2.0
    • Component/s: docs
    • generic
    • generic


      The FileDialog spec says the following about the FileDialog(Frame)
      constructor:

        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


      However, a FileDialog created by using this constructor does *not* have
      an empty title.
      On Solaris, a FileDialog created by using this constructor has a title of '_popup', and on winNT, it has a title of 'Open'.

      The spec and the implementation are not in agreement.

      The attached application (FileDialogTest.java) demonstrates this.
      To recreate, press the 'Test FileDialog(p)' button.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: