You can work with Swing and AWT layout managers with the
visual editor for Java™.
Using BorderLayout (Swing)
The visual editor provides visual cues for helping you
work with the Swing BorderLayout.
Using GridBagLayout (AWT)
You can use the AWT GridBagLayout with Swing and AWT containers
to arrange components using a powerful and flexible grid arrangement.
Using GridLayout (AWT)
You can use the visual editor for Java to lay out Swing components using GridLayout.
Using BoxLayout (Swing)
You can use the visual editor to layout Swing components
using BoxLayout on the X or Y axis.
Using CardLayout (AWT)
The AWT CardLayout layout manager arranges components in
a stack, like a stack of cards.
Using FlowLayout
The FlowLayout layout manager arranges components in a
left-to-right flow, with wrapping lines. The advantages of the flow
layout manager include its ease of use, and the guarantee that each
component can be seen.