<AWT Dev> [8] Review request for 8000425: FileDialog documentation should be enhanced

Anthony Petrov anthony.petrov at oracle.com
Wed Sep 25 05:12:47 PDT 2013

Hi Oleg,

I suggest to rephrase the statements as follows:

>  460      * The file could be highlighted or its name could be entered depending on
>  461      * native file dialog implementation.

"When the dialog is shown, the specified file is selected. The kind of 
selection depends on the dialog type and the native platform. For 
example, the file could be highlighted in the file list, or a file name 
editbox could be populated with a string containing the specified file 

>  463      * This method accepts full path or file name with extension when used
>  464      * together with <code>setDirectory()</code> method.

"This method accepts either a full file path, or a file name with an 
extension if used together with the {@code setDirectory} method."

>  467      * <code>null</code> as the file.

{@code null}

Please get a CCC approval before pushing this fix.

best regards,

On 09/25/2013 02:50 PM, Oleg Pekhovskiy wrote:
> Hi all,
> please review the fix
> http://cr.openjdk.java.net/~bagiras/8000425.1/
> for
> https://bugs.openjdk.java.net/browse/JDK-8000425
> It's just a Javadoc fix.
> Thanks,
> Oleg

More information about the awt-dev mailing list