Name: ssT124754 Date: 02/08/2001
N/A
[looking at online docs at java.sun.com for j2se/1.3/docs]
I was wondering the use of layoutContainer() taking an argument of
the parent Container, when I thought the LayoutManager should already
have a list of objects.
Then I noticed that my LayoutManager class was NOT getting passed
Components as they were being added by Panel.add(Component)
I infer from this that LayoutManager.layoutContainer() is expected to
call Container.getAllComponents, and ITERATE THROUGH THEM, instead
of keeping its own internal cached list.
If this is the case, you really, really really need to **document** this
in the LayoutManager.layoutContainer() docs.
(Review ID: 116554)
======================================================================