src/java.desktop/share/classes/java/awt/BorderLayout.java

Print this page

        

@@ -72,11 +72,11 @@
  * unpredictable results.  If
  * you use both types, the relative constants will take precedence.
  * For example, if you add components using both the <code>NORTH</code>
  * and <code>PAGE_START</code> constants in a container whose
  * orientation is <code>LEFT_TO_RIGHT</code>, only the
- * <code>PAGE_START</code> will be layed out.
+ * <code>PAGE_START</code> will be laid out.
  * <p>
  * NOTE: Currently (in the Java 2 platform v1.2),
  * <code>BorderLayout</code> does not support vertical
  * orientations.  The <code>isVertical</code> setting on the container's
  * <code>ComponentOrientation</code> is not respected.

@@ -209,11 +209,11 @@
      * mixing the two types of constants can lead to unpredictable results.  If
      * you use both types, the relative constants will take precedence.
      * For example, if you add components using both the <code>NORTH</code>
      * and <code>BEFORE_FIRST_LINE</code> constants in a container whose
      * orientation is <code>LEFT_TO_RIGHT</code>, only the
-     * <code>BEFORE_FIRST_LINE</code> will be layed out.
+     * <code>BEFORE_FIRST_LINE</code> will be laid out.
      * This will be the same for lastLine, firstItem, lastItem.
      * @serial
      */
     Component firstLine;
      /**