created: 01/12/02

CHAPTER 62 — JPanel and BoxLayout

The graphical interfaces of the previous chapters have a serious problem: resizing the frame changes the layout of components. A component and its label may no longer be next to each other. FlowLayout does not keep related items together; it just puts them in the frame one-by-one as they are added. If a row is full it starts the next one. This chapter discusses how to better control the layout process.

Chapter Topics:

QUESTION 1:

(Review: ) What is the part of a frame that holds the graphical components?