Basic HTML version of Foils prepared Sept 21 1998

Foil 16 The Class Hierarchy of this example

From Java Tutorial 98- 3: Graphics and the Abstract Windowing Toolkit NAVO Tutorial -- Sept 23 1998. by Geoffrey C. Fox, Nancy McCracken

Moving Rectangles showing an applet thread and parent/child classes for Foil 16
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



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998