Java Programming/Applets/Graphics and Media
Category:Book:Java Programming#Applets/Graphics%20and%20Media%20
Navigate User Interface topic: |
Painting
By overriding the update(Graphics g)
and paint(Graphics g)
methods of an Applet (or one of its subcomponents), you can have fairly direct control over the rendering of an Applet. The Graphics object provides various primitives for working for two-dimensional graphics.