Lectures

The lectures are intended to illustrate a subset of the programming concepts and Java language features that are covered in the text book.
 
Program Applet? Concept or language feature illustrated
checkers1 yes Comments: /* ... */ and // 
Applet method: paint 
Graphics methods: fillRect, setColor 
Color class constants: black, red, ...
Variables, the concept 
int variables: declaring them; assigning an initial value 
The multiplication operator: *
Java Graphics coordinate system
checkers2 yes while, % operator
staircase yes Another nested while, where the inner iteration depends 
on the outer iteration control variable value
redblueboard yes The increment operator and the Color constructor
e to the x no The for statement; assignment operators, Java applications
while, for, do-while, switch
sine yes Math.PI, Math.sin
hypercube yes 4D wire frame cube, represented with a 5-dimensional array
scope no Scope rules for local and instance variables
MethodOverload yes Method overloading
array1 yes Basic array
Monte Carlo yes Using an array as a bank of counters
Arrays: passing them as arguments, array of arrays
Life yes Array of arrays, the life cellular automaton
Complex
MandelbrotComplet
Objects
MandelbrotSet
Mandlbrot
Complex
yes Objects: composition (see Powerpoint above)
Complex2
MandelbrotSet2
this reference
MandelbrotSet
Mandelbrot
MandelbrotComplet
yes In preparation for distributed computing
SolarSystem
HeavenlyBody
Saturn
yes Inheritance & polymorphism
Zapem
Roach
Rectangle
Oval
yes Inheritance & polymorphism
Complex no final class
Zapem
Roach
Rectangle
Oval
yes abstract classes
Zapem
Roach
Rectangle
Oval
Render
yes interface
Introduction to the AWT classes
Label yes Label class and methods
Button yes Button class
TextField yes TextField class
Choice yes Choice button (also known as drop-down list)