Quick Reference
Leepoint: Java Programming Notes - excellent reference
Mindprod: Java Glossary - excellent
falkhausen.de: Java Class Diagrams
Course Notes
kth.se: Java with technical applications - a good resource, sometimes slow to load
leepoint.net: Java Tutorial: concise but useful
pdf: Java for dummies
pdf: ...
Oracle Java Website
Oracle Java Trails (tutorials) - very good and in depth, but a bit wordy
Java SE 6 classes
Java SE 6 documentation- overview

Announcements:


Symbols:

These are programs/assignments that must be handed in to be marked
These are programs that need to be handed in, but are not marked or are just marked for completion (e.g. 5/5 for doing the work).
These are more difficult programs for enrichment. They only need to be done if you want more than 90% in the course.
These are very difficult programs for enrichment. They only need to be done if you want more than 95% in the course.



April 2012 - Daily lesson topics

M T W Th F
Here are my notes from class:

3
Discussion of simple calculator. Begin calculator GUI.

4
Teacher sick

5
Teacher sick
work on calculator program.
FYI: example of CalcGUI and CalcMain.

6
Good Friday

9
Easter Monday

10
work on calculator

11
work on calculator

12
Updated marks handed out

13

KeyListener Program

16
Unit 5: graphics and animation
Lesson: Java custom graphics
Draw a filled in triangle using g.fillPolygon(Polygon p).


Examples: Draw4Ovals.java
Two ways to subclass JPanel:
Drawing1.java
Drawing2.java
Two versions of paint program
DrawOnImage.java
DrawOnCompoment.java
DrawGrids

17
Lesson: custom scales; equation plotter

18
work period

19
Lesson: complex numbers, Mandelbrot set

20
PD Day.

23
work period, fix marks.
Write out steps/outline of a minesweeper program.

24
handin MineSweeper outline

JavaDoc (Word doc).

25
work period

26
work period

27
work period

30
Discuss recursion. Explain what needs to be done with the minesweeper/terrain program and how to do it.
Download this source code (based on minesweeper) and run it.

Read the comments for the 4 problems to solve
(1. javadoc, 2. fix it so that clicking colours the lakes).

(3. and 4.)

       


// Assignment #3.
Recursion in minesweeper
Animation (ballworld)
Applets
Some sort of small test needs to be done sometime.End of unit
MISC: Still to do: jar files, packages, jnlp.

SWING RESOURCES

JTable example
JFrames (Oracle.com) - everything you want to know
GUI programming in Java
about canvas and Graphics2D, but we no longer use canvas
hmmm... more in depth,


program for wetbulb thermometer (work with a partner)
Example of binary I/O
RPN calculator (stacks)
95%: program for letter pair freq. (top 10)
Addressbook & array list to Graphics, world cup logic to graphics

 

By the end of Unit 2 (Classes), you need to know

Order of operations ...