The Class Hierarchy of this example
Applet
mRectApplet
variables:
mPoint object[ ]
methods:
init
run
start
stop
update
paint
mPoint
variables:
int x, y, dx, dy
Color color
methods:
setDelta
setColor . . .
move
paint
mRectangle
int w, h
paint
checkBoundary . . .
mOval
paint
mTriangle
paint
uses
Previous slide
Next slide
Back to first slide
View graphic version