Creating a UI with nested layouts
XYLayout
or null
layout. To accomplish this, start with panel 12 which contains the URL label and the text field.
BorderLayout
.
BorderLayout
should assign the label to the West, and the text field to the Center of the BorderLayout
panel. If they were assigned different constraint values, change them now.
BorderLayout
.
BorderLayout
should assign the correct layout constraints: panel 12 is North, and the text area is Center.
Your UI won't change much visibly by doing this. Go on to the next step.