<AWT Dev> Review request for 8019280: CFileDialog selection button on choose directory mode should read " Choose "

Avik Niyogi avik.niyogi at oracle.com
Mon Nov 23 06:34:08 UTC 2015

Hi All,

Kindly review the fix for JDK9.
https://bugs.openjdk.java.net/browse/JDK-8019280 <https://bugs.openjdk.java.net/browse/JDK-8019280>

http://cr.openjdk.java.net/~aniyogi/8019280/webrev.00/ <http://cr.openjdk.java.net/~aniyogi/8019280/webrev.00/>

Issue: The OpenJDK implementation of CFileDialog for mac is inconsistent with how Apple's implementation would show the selection button when the dialog was set to choose directories.
Expected correct caption on the selection button should be " Choose " , not " Open " according to Mac OSX UI guidelines.

Cause: Incorrect implementation within CFileDialog.m

Fix:Added logic to setPrompt when opening a directory selection File Dialog

With Regards,
Avik Niyogi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20151123/370e4c47/attachment.html>

More information about the awt-dev mailing list