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

JFileChooser Approve button tooltip is null in Aqua L&F in CUSTOM_DIALOG mode

XMLWordPrintable

    • b11
    • os_x

      The Approve button of JFileChooser in CUSTOM_DIALOG mode has no tooltip in Aqua L&F.

      Other L&Fs set the tooltip.
      Aqua L&F should be consistent with other Look-and-Feels.

      The attached FileChooserApproveButtonTooltip.java produces the following output:

      Metal - Open - Open selected file
      Nimbus - Open - Open selected file
      CDE/Motif - OK - Open selected file.
      Mac OS X - Choose - null

      This is on the build with the fix for JDK-8299522 which is currently on review https://github.com/openjdk/jdk/pull/11901#pullrequestreview-1253170424 and with the integrated fix for JDK-8300084.

      Without the above prerequisites, the button text and tooltips are null; without JDK-8300084, a NullPointerException is thrown in Aqua L&F.

            tr Tejesh R
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: