-
Bug
-
Resolution: Fixed
-
P4
-
21
-
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 forJDK-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; withoutJDK-8300084, a NullPointerException is thrown 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
Without the above prerequisites, the button text and tooltips are null; without
- blocks
-
JDK-8299522 Incorrect size of Approve button in custom JFileChooser
-
- Resolved
-
- is blocked by
-
JDK-8300084 AquaFileChooserUI.getDefaultButton returns null
-
- Resolved
-