![How to Use GridBagLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container) How to Use GridBagLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container)](https://docs.oracle.com/javase/tutorial/figures/uiswing/layout/GridBagLayoutDemo-noweightx.png)
How to Use GridBagLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container)
![How to Use GridBagLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container) How to Use GridBagLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container)](https://docs.oracle.com/javase/tutorial/figures/uiswing/layout/gridbagbigA.png)
How to Use GridBagLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container)
A frame that uses a grid bag layout to arrange font selection components : GridBagLayout « Swing JFC « Java
![How to Use GridLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container) How to Use GridLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container)](https://docs.oracle.com/javase/tutorial/figures/uiswing/layout/GridLayoutDemo.png)
How to Use GridLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container)
Setting the Space around a Component Within the Cell of the GridBagLayout Using Insets : GridBagLayout « Swing « Java Tutorial
![How to Use GridBagLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container) How to Use GridBagLayout (The Java™ Tutorials > Creating a GUI With Swing > Laying Out Components Within a Container)](https://docs.oracle.com/javase/tutorial/figures/uiswing/layout/GridBagLayoutDemoGrid.jpg)