Basic HTML version of Foils prepared 13 July 98

Foil 7 Font Size

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


Font size is measured in points (72 points per inch)
Common sizes are 10–12 points for body text and 18–36 points for headings
The method getSize() gets the size of the current font: Font f = g.getFont(); int size = f.getSize();



© 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