Graphics and Media

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

Navigate User Interface topic:v  d  e )


By overriding the update(Graphics g) and paint(Graphics g) methods of an Applet (or one of it's sub-components), 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