Basic HTML version of Foils prepared 13 July 98

Foil 9 DrawableStrings.java

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

The DrawableStrings Class
1 We now generalize DrawableString to handle an array of strings: class DrawableStrings extends Font { int n; String[] string; Color color; DrawableStrings( String[] string ); void centerDraw( Component c ); }
2 The API of the DrawableStrings class is essentially the same as before

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