Section 22.9 BoxLayout Layout Manager

BoxLayout )p. 939) arranges GUI components left-to-right or top-to-bottom in a container.

• Class Box represents a container with BoxLayout as its default layout manager and provides static methods to create a Box with a horizontal or vertical BoxLayout.

Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.