201 |
/** |
/** |
202 |
* Adds the specified component to the container at the end of the |
* Adds the specified component to the container at the end of the |
203 |
* component list. This method should not be used. Instead, use |
* component list. This method should not be used. Instead, use |
204 |
* <code>add(Component, Object</code>. |
* <code>add(Component, Object)</code>. |
205 |
* |
* |
206 |
* @param name The name of the component to be added. |
* @param name The name of the component to be added. |
207 |
* @param component The component to be added. |
* @param component The component to be added. |
208 |
* |
* |
209 |
* @return The same component that was added. |
* @return The same component that was added. |
210 |
|
* |
211 |
|
* @see #add(Component,Object) |
212 |
*/ |
*/ |
213 |
public Component add(String name, Component comp) |
public Component add(String name, Component comp) |
214 |
{ |
{ |