--- a/jdk/src/share/classes/javax/swing/JWindow.java Mon Oct 14 11:47:27 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/JWindow.java Mon Oct 14 13:22:36 2013 +0400
@@ -43,9 +43,10 @@
* The <code>JWindow</code> component contains a <code>JRootPane</code>
* as its only child. The <code>contentPane</code> should be the parent
* of any children of the <code>JWindow</code>.
- * As a conveniance <code>add</code> and its variants, <code>remove</code> and
- * <code>setLayout</code> have been overridden to forward to the
- * <code>contentPane</code> as necessary. This means you can write:
+ * As a convenience, the {@code add}, {@code remove}, and {@code setLayout}
+ * methods of this class are overridden, so that they delegate calls
+ * to the corresponding methods of the {@code ContentPane}.
+ * For example, you can add a child component to a window as follows:
* <pre>
* window.add(child);
* </pre>