jdk/src/share/classes/java/awt/Container.java
changeset 21278 ef8a3a2a72f2
parent 20455 f6f9a0c2796b
child 21787 11c9c9dfa450
child 21957 97758de70fbd
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   957      * display the added component.
   957      * display the added component.
   958      *
   958      *
   959      *
   959      *
   960      * @param     comp the component to be added
   960      * @param     comp the component to be added
   961      * @param     constraints an object expressing
   961      * @param     constraints an object expressing
   962      *                  layout contraints for this component
   962      *                  layout constraints for this component
   963      * @exception NullPointerException if {@code comp} is {@code null}
   963      * @exception NullPointerException if {@code comp} is {@code null}
   964      * @see #addImpl
   964      * @see #addImpl
   965      * @see #invalidate
   965      * @see #invalidate
   966      * @see #validate
   966      * @see #validate
   967      * @see javax.swing.JComponent#revalidate()
   967      * @see javax.swing.JComponent#revalidate()
   984      * displayed, the hierarchy must be validated thereafter in order to
   984      * displayed, the hierarchy must be validated thereafter in order to
   985      * display the added component.
   985      * display the added component.
   986      *
   986      *
   987      *
   987      *
   988      * @param comp the component to be added
   988      * @param comp the component to be added
   989      * @param constraints an object expressing layout contraints for this
   989      * @param constraints an object expressing layout constraints for this
   990      * @param index the position in the container's list at which to insert
   990      * @param index the position in the container's list at which to insert
   991      * the component; <code>-1</code> means insert at the end
   991      * the component; <code>-1</code> means insert at the end
   992      * component
   992      * component
   993      * @exception NullPointerException if {@code comp} is {@code null}
   993      * @exception NullPointerException if {@code comp} is {@code null}
   994      * @exception IllegalArgumentException if {@code index} is invalid (see
   994      * @exception IllegalArgumentException if {@code index} is invalid (see