[3232] in java-interest

home help back first fref pref prev next nref lref last post

ImageProducer/Consumer classes

daemon@ATHENA.MIT.EDU (David Gourley)
Fri Nov 3 22:02:08 1995

From: David Gourley <dgourley@CS.Berkeley.EDU>
To: java-interest@java.sun.com
Date: Fri, 03 Nov 1995 16:45:59 -0800


Hello,

I have a question about using the ImageProducer/Consumer classes for
handling image streams/frame sequences. This must be something that I am
just not seeing, so if someone could please fill me in...

I understand that I can implement the producer interface which can go off
and get the frames and then call the appropriate method in the consumer
class notifying that a frame has arrived and is ready, the part I am not
sure about is that once a frame has arrived the consumer must either notify
or arrange for it to be displayed. Should it create an Image for each frame
and then display? This seems inefficient, there must be a cleaner way to do
this, but I just dont see it. Any help would be appreciated.

-david
dgourley@CS.Berkeley.EDU
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post