Graphics and Media
|Navigate User Interface topic:
Painting[edit | edit source]
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.