What Are AWT Layout Managers

java packages ยป java.awt

The following is a list of AWT layout managers with their brief descriptions.

BorderLayout A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.
CardLayout Makes each component as large as the container and displays only one at a time. Various methods change the currently displayed component.
FlowLayout Arranges components like words on a page: from left to right in rows and then top to bottom as each row fills up. Rows may be left, center, or right justified.
GridBagLayout The GridBagLayout class is a flexible layout manager that aligns components vertically, horizontally or along their baseline without requiring that the components be of the same size.
GridLayout Makes all components the same size and arranges them in a grid of specified dimensions.

AWTEventMulticaster

DefaultKeyboardFocusManager

Frame

Graphics

GraphicsConfiguration

GraphicsDevice

GridBagConstraints

JobAttributes

KeyboardFocusManager

List

MediaTracker

TrayIcon

AWTException

FontFormatException

HeadlessException


2011-2021 JavaExamples.org Privacy Policy Powered by Google App Engine