0% developed

Graphics and Media

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Navigate User Interface topic:v  d  e )

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.


To do:
Add some exercises like the ones in Variables