Session Details

Week 6, Session 18 — Thu Apr 14

Reading

  1. Big Java, §9.7–9.11 (9.6-9.10 in ed3)

HW Due

  1. HW 17

Topics

  1. Swing containers, Layout Managers
  2. Event-based programming
  3. Listeners, callbacks, and inner classes
  4. Buttons and other Swing objects

Resources

  1. Slides

Outline

  1. [5 min] Questions
  2. [10 min] Discuss answers to BoardGames design exercise
  3. [25 min] Call backs, event handling, inner classes
  4. [5 min] break
  5. [25 min] Basic window layout, event handling practice
  6. [25 min] Mouse listeners, more event handling practice
  7. [10 min] Work time

HW Assigned

  1. HW 18