jdk/src/share/classes/javax/swing/JDialog.java
changeset 21278 ef8a3a2a72f2
parent 21255 0afb44cd0215
child 21982 fd6e5fe509df
--- a/jdk/src/share/classes/javax/swing/JDialog.java	Tue Oct 29 16:35:20 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/JDialog.java	Tue Oct 29 17:01:06 2013 +0400
@@ -863,7 +863,7 @@
      * {@code setLayout} are forwarded to the {@code contentPane}.
      *
      * @return true if {@code add} and {@code setLayout}
-     *         are fowarded; false otherwise
+     *         are forwarded; false otherwise
      *
      * @see #addImpl
      * @see #setLayout
@@ -1025,7 +1025,7 @@
      * This method is called by the constructor.
      * <p>
      * Swing's painting architecture requires an opaque {@code JComponent}
-     * in the containment hiearchy. This is typically provided by the
+     * in the containment hierarchy. This is typically provided by the
      * content pane. If you replace the content pane it is recommended you
      * replace it with an opaque {@code JComponent}.
      * @see JRootPane