CS 121 Lecture Notes - Lecture 56: Layout Manager

16 views4 pages

Document Summary

Layout managers: an object that governs how components are arranged in a container. The most important activity in gui design. Determines the size & position of each component & may take many factors into account to do so. Every container has a default layout managers, which we can replace it if we prefer another one. Every time a component is added to a container, layout manager determines how addition affects all of existing components. Organizes components into 5 areas (north, south, east, west & center) Organizes components into a single row or column. Organizes components into one area such that the only one is visible at any time. Organizes components from left to right, starting new rows as necessary. Organizes components into a grid of rows & columns. Gridbag layout organizes components into a grid of cells, allowing components to span more than one cell. To develop good guis in java, it"s imperative to become familiar w/ features.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents