jdk/src/share/classes/java/awt/BorderLayout.java
changeset 21278 ef8a3a2a72f2
parent 20451 4cedf4e1560a
child 21957 97758de70fbd
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    67  * and <code>LINE_END</code> respectively.  For
    67  * and <code>LINE_END</code> respectively.  For
    68  * consistency with the relative positioning constants used by other
    68  * consistency with the relative positioning constants used by other
    69  * components, the latter constants are preferred.
    69  * components, the latter constants are preferred.
    70  * <p>
    70  * <p>
    71  * Mixing both absolute and relative positioning constants can lead to
    71  * Mixing both absolute and relative positioning constants can lead to
    72  * unpredicable results.  If
    72  * unpredictable results.  If
    73  * you use both types, the relative constants will take precedence.
    73  * you use both types, the relative constants will take precedence.
    74  * For example, if you add components using both the <code>NORTH</code>
    74  * For example, if you add components using both the <code>NORTH</code>
    75  * and <code>PAGE_START</code> constants in a container whose
    75  * and <code>PAGE_START</code> constants in a container whose
    76  * orientation is <code>LEFT_TO_RIGHT</code>, only the
    76  * orientation is <code>LEFT_TO_RIGHT</code>, only the
    77  * <code>PAGE_START</code> will be layed out.
    77  * <code>PAGE_START</code> will be layed out.
   204 
   204 
   205     /**
   205     /**
   206      *
   206      *
   207      * A relative positioning constant, that can be used instead of
   207      * A relative positioning constant, that can be used instead of
   208      * north, south, east, west or center.
   208      * north, south, east, west or center.
   209      * mixing the two types of constants can lead to unpredicable results.  If
   209      * mixing the two types of constants can lead to unpredictable results.  If
   210      * you use both types, the relative constants will take precedence.
   210      * you use both types, the relative constants will take precedence.
   211      * For example, if you add components using both the <code>NORTH</code>
   211      * For example, if you add components using both the <code>NORTH</code>
   212      * and <code>BEFORE_FIRST_LINE</code> constants in a container whose
   212      * and <code>BEFORE_FIRST_LINE</code> constants in a container whose
   213      * orientation is <code>LEFT_TO_RIGHT</code>, only the
   213      * orientation is <code>LEFT_TO_RIGHT</code>, only the
   214      * <code>BEFORE_FIRST_LINE</code> will be layed out.
   214      * <code>BEFORE_FIRST_LINE</code> will be layed out.