JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Uses of Interface java.awt.LayoutManager2
Packages that use LayoutManager2
Package
Description
java.awt
Contains all of the classes for creating user interfaces and for painting
graphics and images.
javax.swing
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
javax.swing.plaf.basic
Provides user interface objects built according to the Basic look and feel.
Classes in java.awt that implement LayoutManager2
Modifier and Type
Class
Description
class
BorderLayout
A border layout lays out a container, arranging and resizing
its components to fit in five regions:
north, south, east, west, and center.
class
CardLayout
A CardLayout
object is a layout manager for a
container.
class
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.
Classes in javax.swing that implement LayoutManager2
Modifier and Type
Class
Description
class
BoxLayout
A layout manager that allows multiple components to be laid out either
vertically or horizontally.
class
GroupLayout
GroupLayout
is a LayoutManager
that hierarchically
groups components in order to position them in a Container
.
protected class
JRootPane.RootLayout
A custom layout manager that is responsible for the layout of
layeredPane, glassPane, and menuBar.
class
OverlayLayout
A layout manager to arrange components over the top
of each other.
class
SpringLayout
A SpringLayout
lays out the children of its associated container
according to a set of constraints.
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.