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

api/javax_swing/interactive/JFileChooserTests.html#JFileChooser custom approve button and tooltip

XMLWordPrintable

      In Tests:
      api/javax_swing/interactive/JFileChooserTests.html#JFileChooser[JFileChooserTest0006]
      api/javax_swing/interactive/JFileChooserTests.html#JFileChooser[JFileChooserTest0007]

      setApproveButtonText() and setApproveButtonToolTipText() works wrong for directories. Button text and tooltip shown correct if selection at file and shown default values if directory selected.


      JCK: 6.0 b07
      JDK 6.0 b52
      Platform : windows XP home, professional

      To reproduce start api/javax_swing/interactive/JFileChooserTests.html#JFileChooser [JFileChooserTest0006] and [JFileChooserTest0007] tests. Set new approve button text or tooltip. Open file dialog and try to select files and directories.

            leifs Leif Samuelsson (Inactive)
            dtoporovsunw Denis Toporov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: