Java Reference
In-Depth Information
A particular program's containment hierarchy can be represented as a tree
structure, such as the one shown in Figure 7.13. The root of the tree is the top-
level container. Each level of the tree shows the containers and components held
in the containers of the level above.
When changes are made that might affect the visual layout of the components
in a program, the layout managers of each container are consulted in turn. The
changes in one may affect another. These changes ripple through the containment
hierarchy as needed.
SELF-REVIEW QUESTIONS (see answers in Appendix N)
SR 7.34 What is the containment hierarchy for a GUI?
SR 7.35 Draw the containment hierarchy tree for the LeftRight application
GUI presented in Chapter 5.
 
Search WWH ::




Custom Search