1958
Comment:
|
2940
|
Deletions are marked like this. | Additions are marked like this. |
Line 23: | Line 23: |
== Sharing and Hiding. == | == Sharing, Hiding, Inheritance and Composition. == |
Line 26: | Line 26: |
Example code:: [[attachment:Boidsexample.zip]] | |
Line 27: | Line 28: |
Homework:: | |
Line 28: | Line 30: |
== Inheritance and Polymorphism. == | 1. Read Chapter 5 and 6 in TIJ. 1. Do exercise 13 on page 308, TIJ. Do everything within the Eclipse environment. 1. Use the "Boids" example code and create a new class 'MyBoid' that displays neither a square nor a triangle. Send screen copies of the result (running program with output within Eclipse, also showing the source code of your 'MyBoid') to <<MailTo(p.j.f.peters@tue.nl)>>, before 5pm, Monday sept 21. Preparation for the next lecture:: 1. Rent again your [[http://wiki.id.tue.nl/creapro/AdMoVeo|AdMoVeo]] robot. 1. InstallArduinoSoftware 1. [[http://wiki.id.tue.nl/creapro/IDuino|Upload the IDuino firmware]] to the Arduino board 1. Read the tutorial [[http://processing.org/learning/tutorials/eclipse/|Processing in Eclipse]] 1. Try to modify the example from http://wiki.id.tue.nl/creapro/AdMoVeoInProcessing, make it a Java Program, and get it running with Eclipse. == Polymorphism. == |
Contents
1. Bye-bye Processing. Hello Objects
- Lecture
- 13.45 - 15.30, Tuesday Sept. 8, HG 4.24
- Presentation
- Help
- 11:30-12.30, Friday Sept. 11, HG4.24.
- Homework
Send screen copies of the results (running program with output within Eclipse) to <j.hu@tue.nl>, before 5pm, Monday sept 14.
Rent again your AdMoVeo robot.
Upload the IDuino firmware to the Arduino board
Read the tutorial Processing in Eclipse
Try to modify the example from http://wiki.id.tue.nl/creapro/AdMoVeoInProcessing, make it a Java Program, and get it running with Eclipse.
2. Sharing, Hiding, Inheritance and Composition.
- Lecture
- 13.45 - 15.30, Tuesday Sept. 15, HG 4.24
- Presentation
- Example code
- Help
- time, date, location.
- Homework
Use the "Boids" example code and create a new class 'MyBoid' that displays neither a square nor a triangle. Send screen copies of the result (running program with output within Eclipse, also showing the source code of your 'MyBoid') to <p.j.f.peters@tue.nl>, before 5pm, Monday sept 21.
Rent again your AdMoVeo robot.
Upload the IDuino firmware to the Arduino board
Read the tutorial Processing in Eclipse
Try to modify the example from http://wiki.id.tue.nl/creapro/AdMoVeoInProcessing, make it a Java Program, and get it running with Eclipse.
3. Polymorphism.
- Lecture
- 13.45 - 15.30, Tuesday Sept. 22, HG 4.24
- Presentation
- Help
- time, date, location.
4. Swing to GUI
- Lecture
- 13.45 - 15.30, Tuesday Sept. 29, HG 4.24
- Presentation
- Help
- time, date, location.
5. Distributed computing
- Lecture
- 13.45 - 15.30, Tuesday Oct. 6, HG 4.24
- Presentation
- Help
- time, date, location.
6. Between Java and Processing
- Lecture
- 13.45 - 15.30, Tuesday Oct. 13, HG 4.24
- Presentation
- Help
- time, date, location.