Session Details
Week 6,
Session 18 — Thu Apr 14
Reading
-
Big Java, §9.7–9.11 (9.6-9.10 in ed3)
HW Due
-
HW 17
Topics
-
Swing containers, Layout Managers
-
Event-based programming
-
Listeners, callbacks, and inner classes
-
Buttons and other Swing objects
Resources
-
Slides
Outline
-
[5 min] Questions
-
[10 min] Discuss answers to BoardGames design exercise
-
[25 min] Call backs, event handling, inner classes
-
[5 min] break
-
[25 min] Basic window layout, event handling practice
-
[25 min] Mouse listeners, more event handling practice
-
[10 min] Work time
HW Assigned
-
HW 18