[3309] in java-interest
Re: ImageProducer/Consumer classes
daemon@ATHENA.MIT.EDU (Jim Graham)
Tue Nov 7 04:34:43 1995
Date: Tue, 7 Nov 1995 00:12:35 -0800
From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
To: java-interest@java.Eng.Sun.COM
Cc: dgourley@cs.berkeley.edu
Hi David,
> If I put a test print in the removeConsumer method from my ImageProducer I
> see that it is called to remove "theConsumer" after frameCallBack is called
> for the first time. Any ideas?
There are a number of different ImageConsumer objects that will attach
themselves to you for any number of different reasons. An "InfoGrabber"
object will attach itself to you when you first create the image so that
it can catch the width, height and any properties you may report. It
will remove itself at the first imageComplete, whether it is FRAMEDONE
or STATICIMAGEDONE.
The first time you try to draw the image using drawImage, you will get
an "ImageRepresentation" object attached to you which will handle the
conversion of the pixels for the screen...
...jim
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com