The java.awt.Graphics class
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.
(0,height) (width,height)
Java Graphics Pixel Coordinate System