O'Reilly logo

Java Garage by Eben Hewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

LayoutManagers Overview

LayoutManager.getDefinition(): //returns: Layout managers provide different metaphors for organizing the atomic components within a content pane. Layout Managers include FlowLayout, BorderLayout, BoxLayout, CardLayout, GridLayout, and GridBagLayout. You can create your own layout managers, or use a null layout manager, which requires you to position each component using absolute pixel values. FlowLayout is used as the default layout manager if you do not specify a particular one you'd like to use.

LayoutManager.stepInto() { We will step into layout managers for a moment here so that we can forget about them for the rest of the topic. They are the underlying arranger of the space, so it is appropriate to start with them. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required