created: 01/12/02
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.
setResizable() method.JPanelBoxLayout layout manager.