d2 - advanced gui programming

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:53 AM on 4/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

9 Terms

1
New cards

layout managers

an object that controls the size and position of components

2
New cards

Border

Flow

Grid

Card

Box

GridBag

layout managers (all has Layout in the end)

3
New cards

BorderLayout

default manager for content panes, divides the container into five specific regions. north south east west center

4
New cards

FlowLayout

arranges components in a line, much like words in a pragraph

5
New cards

GridLayout

divides the container into a grid or equal sized cells, you define # of rows and columns, can also define horizontal and vertical gaps

6
New cards

CardLayout

treats each component as a “card”. only one component is visible at a time

7
New cards

BoxLayout

organizes components into a single row or column unlike Flow, doesn’t wrap components in a new line simply stacks them

8
New cards
<p>GridBoxLayout</p>

GridBoxLayout

most flexible and complex layout manager, allows you to set specific constraints for size, placement, and alignment for every individual component

9
New cards

nesting panels

this technique allows you to combine the strengths of diff layout managers