Java Programming/Applets/Graphics and Media

From Wikibooks, open books for an open world
< Java Programming | Applets
Jump to: navigation, search

[edit] Graphics and Media

[edit] Painting

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export