--- old/src/share/classes/java/awt/FileDialog.java 2013-09-25 14:54:24.853239000 +0400 +++ new/src/share/classes/java/awt/FileDialog.java 2013-09-25 14:54:24.341174000 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -457,9 +457,14 @@ * specified file. This file becomes the default file if it is set * before the file dialog window is first shown. *
+ * The file could be highlighted or its name could be entered depending on + * native file dialog implementation. + *
+ * This method accepts full path or file name with extension when used
+ * together with setDirectory()
method.
+ *
* Specifying "" as the file is exactly equivalent to specifying
- * null
- * as the file.
+ * null
as the file.
*
* @param file the file being set
* @see #getFile