Post on 13-Jan-2016
transcript
SE-1021Software Engineering II
Week 5, Class 1 Learning Resources From inner classes to anonymous Inner Classes Additional GUI components Inheritance with ArrayLists
1
Learning Resources (web)
Course Website https://faculty-web.msoe.edu/yoder/se1021/
…/se1021/slides from lecture …/se1021/code from lecture …/se1021/schedule exam dates
Left side Taylor’s material Right side from the book
…/se1021/outcomes weekly details …/se1021/homework optional HW
Links to all on home page Dr. Taylor’s Labs are up before I link to them
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick
2
Learning Resources (text)
Text is worth reading Insightful ideas not mentioned in class
Review problems lead to text Exercises lead deeper
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick 3
Learning Resources (office)
I will be in my office during office hours No appointment necessary
You may attempt to schedule an appointment at any time Free spots best “Grading” time OK if those don’t work
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick 4
Learning Resources (people)
Learning Resource Center (Brian Burke) Counseling Services (Joe Meloy) Curriculum Advisors Tau Omega Mu University Disability Services (Elizabeth
Gridley) TRIO Your parents, Pastor, Priest, Rabbi, etc.
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick 5
Learning Resources (other)
Click to add text
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick 6
Java Components
Sec 17.5 – p. 768 JLabel, JTextField, Jbutton JTextArea, JCheckBox, JRadioButton, JComboBox JMenuBar, JMenu, JMenuItem
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick 7
Action ListenersApproach 1
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick8
Action ListenersApproach 2
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick9
Action ListenersApproach 3
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick10
Action ListenersApproach 4
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick11
Inheritance with ArrayLists
In the lab, the addAll method takes a Collection<Vocalize> but we give it an ArrayList<Vocalize>. Why does this work?
SE-1021Dr. Josiah Yoder
Slide style: Dr. Hornick 12