Basic HTML version of Foils prepared Sept 21 1998

Foil 3 The java.awt.Graphics class

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


1 The AWT has two different schemes for creating all or parts of applet windows:
  • A high-level scheme where a Layout manager decides how to place components like buttons and textfields in the window (described later).
  • A low-level scheme where methods draw graphics objects to the window and must say where to place them in terms of pixels.
2 (0,0) (width,0)
3 (0,height) (width,height)
4 Java Graphics Pixel Coordinate System

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