Whenever paint() is called, the latest collection of static is seen. The image observer, which is the
Applet itself, schedules a call to paint(), whenever anything interesting has happened to the image.
22.7 CONSUMING IMAGE DATA
Consuming image data is reverse of producing image data that as seen in previous section. For consuming
image data, Java provides ImageConsumer interface. The interface is for objects expressing interest in
image data through the ImgeProducer interfaces. When a consumer is added to an image producer, the
producer delivers all of the data about the image using the method calls defi ned in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.