Basic HTML version of Foils prepared 13 July 98

Foil 53 The addPoint Method

From Java Academy II:Intermediate Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo

The java.awt.Polygon.addPoint Method
1 The addPoint(...) method that we've been using (which takes two arguments) was inherited from the superclass Polygon
2 Unfortunately, the Polygon class does not define an addPoint(...) method that takes a single Point as argument
3 So we will overload the addPoint(...) method in the Octagon class

in Table To:


© 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