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

JFileChooser: Wrong javadoc for BasicFileChooserUI members

XMLWordPrintable

    • b14
    • generic
    • generic

      In the class BasicFileChooserUI, the javadoc comments for the following
      three protected members contain the phrase "current selection mode is not
      DIRECTORIES_ONLY". This is incorrect and should be replaced with "current
      selection mode is FILES_ONLY".

          protected int directoryOpenButtonMnemonic = 0;
          protected String directoryOpenButtonText = null;
          protected String directoryOpenButtonToolTipText = null;

      We should also consider clarifying the javadoc for the various
      set/getApproveButton... methods in JFileChooser. See bug 4886855 which was
      closed as not a bug.

      ###@###.### 2004-03-08

            kereminsunw Konstantin Eremin (Inactive)
            leifs Leif Samuelsson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: