Name: jl125535 Date: 08/01/2002
A DESCRIPTION OF THE PROBLEM :
This report is a special case of bug 4724585.
The doc for java.awt.Container.add(Component,Object) at
http://java.sun.com/j2se/1.4/docs/api/java/awt/Container.html#add(java.awt.Component, java.lang.Object)
says "notifies the layout manager to add the component to this
container's layout using the specified constraints object."
Unfortunately, the behavior varies depending on whether the
layout manager implements LayoutManager2. I have
discovered this JDK 1.4 behavior by experiment, but without
clear documentation, I can't depend on this behavior being
the same in 1.5 or 1.3 or even in another release of 1.4.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. See the link above. http://java.sun.com/j2se/1.4/docs/api/java/awt/Container.html#add(java.awt.Compo
This bug can be reproduced always.
(Review ID: 147203)
======================================================================
|