Java Graphics
and
Applets
Java Graphics
We will use 1.0 awt
class Frame
Drawing on Objects
class Graphics
A Simple Graphics Program
Desired Result
Slide 9
Slide 10
Typical awt Drawing Methods
Frame Buffering
paint() method
Flicker Prevention 1
Flicker Prevention 2
Slide 16
Flicker Prevention Summary
repaint()
repaint() -> paint()
Applets
Viewing Applets on the Web or using appletviewer
Web Applet Restrictions
Examples