jdk/src/share/classes/java/awt/Container.java
changeset 21278 ef8a3a2a72f2
parent 20455 f6f9a0c2796b
child 21787 11c9c9dfa450
child 21957 97758de70fbd
--- a/jdk/src/share/classes/java/awt/Container.java	Tue Oct 29 16:35:20 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Container.java	Tue Oct 29 17:01:06 2013 +0400
@@ -959,7 +959,7 @@
      *
      * @param     comp the component to be added
      * @param     constraints an object expressing
-     *                  layout contraints for this component
+     *                  layout constraints for this component
      * @exception NullPointerException if {@code comp} is {@code null}
      * @see #addImpl
      * @see #invalidate
@@ -986,7 +986,7 @@
      *
      *
      * @param comp the component to be added
-     * @param constraints an object expressing layout contraints for this
+     * @param constraints an object expressing layout constraints for this
      * @param index the position in the container's list at which to insert
      * the component; <code>-1</code> means insert at the end
      * component