Basic HTML version of Foils prepared 13 July 98

Foil 4 The Font Object

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

The java.awt.Font Class
1 A Java Font object has three properties: font name, font style, and font size
2 Instantiate a Font object like this: Font f = new Font( "Serif", // font name Font.PLAIN, // font style 12 // font size );

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