created: 01/12/02; revised: 07/18/06 ; refurbished 11/09/08
The graphical interfaces of the previous chapters have
a problem:
when the user resizes the frame the layout of components can change drastically.
FlowLayout
does not keep related items together.
It just puts them in the rows one after another as they are added.
A label and the component it labels may end up in different rows.
This chapter discusses how to better control the layout process.
setResizable()
methodJPanel
JPanel
s BoxLayout
layout manager(Review: ) Has the user been able to resize the frame of the GUIs in the previous chapters?