created: 01/12/02; revised: 07/18/06

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 rows one after another as they are added. This chapter discusses how to better control the layout process.

Chapter Topics:


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