Layouts
• Layouts arrange items by specifying the
relative locations in a pane.
• Why layouts? – Make interfaces flexible to
different windows, resizing etc.
• Alternative: use absolute positioning of
each item
– Tedious for the programmer
– Inflexible for the user (can’t stretch window to
see more)