Session Details
Week 2,
Session 4 — Mon Mar 11
Reading
-
Big Java, §2.11–2.13
-
Big Java, §3.9 and Summary of Learning Objectives at the end of ch 3 ("Chapter Summary" in ed3)
-
Big Java, Ch. 4 1) Associated reading quiz due Friday. 2) This is long, but §4.1–5 should be review. Read §4.6–7 on Strings and Reading Input carefully.
HW Due
-
HW 2
Topics
-
Reviewing Grader Comments in Eclipse
-
Implementing Classes in Java
-
Introduction to Java GUIs
- Swing: JFrame, JComponent, how to draw Shapes in a JComponent
-
Shape classes
-
More fundamental data types
Resources
-
Reviewing Grader Comments in Eclipse
-
Slides
-
IntroToJavaGraphics instructions: optional if you want more details or want to work independently.
There is no self-test for you to complete, but you should consider the questions there, to check your understanding.
Outline
-
[5 min] Reviewing Grader Comments in Eclipse
-
[5 min] Questions
-
[15 min] Another WordGames class
-
[45 min] Live coding: a first Java graphics program
-
[5 min] Break
-
[15 min] Review of classes via quiz
-
[30 min] BiggestFan live coding
-
[10 min] Designing the Face project via UML
-
[30 min] WordGames work time (take a break during the work time)
HW Assigned
-
HW 3