unit: topic | date | course materials | other resources | |
---|---|---|---|---|
|
wed Jan 28 |
---- lecture notes |
downloads: ---- download Java SE ---- download Notepad++ ---- download JEdit on-line resources: java API specification java tutorial "getting started" |
|
mon Feb 2 |
---- lecture notes ---- Lab 1 (part 1) - |
examples: Array Demo Integer/String Demo Date/Random Demo |
||
wed Feb 4 |
---- Lab 1 (part 2) - ---- Lab 1 (part 3) - |
|||
mon Feb 9 |
---- lecture notes |
examples: Console demo Scanner demo Student class - static data field Demo of the multiple instantiations of Student class Coin class - with Unit test CoinFlip class - requires Coin class Object Array Demo |
||
wed Feb 11 |
---- Lab 2 - |
|||
mon Feb 16 |
|
|||
wed Feb 18 |
---- lecture notes |
Calculator Solution: Calculator Object Reference Example: Coin class Pocket class ObjectRefTest class (contains main) |
||
mon Feb 23 |
|
Parameter call-by-value demo: ParameterTester class Comparison of objects: Coin class with compareTo() method Compare string demo Exception handling: Try-catch-finally demo Vectors: VectorDemo class, requires Coin.java Utility classes: StringTokenizer and DecimalFormat example |
||
wed Feb 25 |
---- Lab 3 - |
|||
mon Mar 2 |
---- lecture notes |
Javadoc demo - download and generate docs: Coin class Pocket class ObjectRefTest class Inheritance example 1: Quarter class Inheritance example 2: Employee class Manager class ManagerTest class |
||
wed Mar 4 |
---- Lab 4 - |
|||
mon Mar 9 |
|
|||
wed Mar 11 |
---- lecture notes |
Abstract class example: Person (abstract) class Employee class Student class PersonTest class (main) Interface example (implementing Comparable): Person class Employee class Student class PersonTest class (main) |
||
mon Mar 16 |
|
|||
|
wed Mar 18 |
---- lecture notes |
Top-level Window demos: AWT Frame example Swing JFrame example Component demo programs: AWT GUI Components Swing GUI Components |
|
mon Mar 23 |
|
|||
wed Mar 25 |
---- lecture notes |
Layout Examples FlowLayout BorderLayout CardLayout GridLayout GridBagLayout Event Handling example Event Handling |
||
---- Review ---- Grades |
||||
|
wed Apr 1 |
---- Lab 5 - |
||
mon Apr 6 |
|
|||
wed Apr 8 |
|
|||
mon Apr 13 |
---- Lab 5 cont'd |
|||
wed Apr 15 |
---- lecture notes |
Graphics Examples Line and string Rectangle and oval Polygon and polyline Graphics2D examples String Shapes Image example sample code sample image |
||
mon Apr 20 |
---- Lab 5 cont'd |
|||
wed Apr 22 |
---- Lab 6 - |
|||
mon Apr 27 |
---- Lab 6 cont'd |
|||
wed Apr 29 |
---- lecture notes |
Thread example: RunnableDemo Thread in GUI: Blinking shape BlinkDemo Thread in GUI: Blinking shape, controlled with button BlinkingLight Bouncing balls, each controlled by a separate thread BounceThread |
||
mon May 4 |
---- Lab 7 - |
|||
wed May 6 |
---- lecture notes |
example: TransformDemo |
||
mon May 11 |
---- Lab 7 cont'd |
|||
mon May 13 |
---- final day to turn in the labs |
|||
---- Review |
||||