Download the JDK
Search the Tutorials
Hide the TOC
Trail: Creating a GUI with JFC/Swing
Lesson: Laying Out Components Within a Container
Laying Out Components Within a Container
A Visual Guide to Layout Managers
Using Layout Managers
How Layout Management Works
How to Use Various Layout Managers
How to Use BorderLayout
How to Use BoxLayout
How to Use CardLayout
How to Use FlowLayout
How to Use GridBagLayout
How to Use GridLayout
How to Use GroupLayout
A GroupLayout Example
How to Use SpringLayout
Creating a Custom Layout Manager
Doing Without a Layout Manager (Absolute Positioning)
Solving Common Layout Problems
Home Page > Creating a GUI with JFC/Swing > Laying Out Components Within a Container
« Previous • Trail • Next »
How to Use Various Layout Managers

> Each of the following pages describes how to use a particular kind layout manager. Another way to get to these pages is through A Visual Guide to Layout Managers.
> - How to Use BorderLayout
> - How to Use BoxLayout
> - How to Use CardLayout
> - How to Use FlowLayout
> - How to Use GridBagLayout
> - How to Use GridLayout
> - How to Use SpringLayout

« Previous • Trail • Next »
Previous page: How Layout Management Works
Next page: How to Use BorderLayout