You should send in that peice of code... It might help to find the
problem...
Max.
> -----Message d'origine-----
> De: Johan Lenthamre [SMTP:[EMAIL PROTECTED]]
> Date: Monday, May 03, 1999 8:59 PM
> �: [EMAIL PROTECTED]
> Objet: [java2d] producers / consumers
>
> When I send a rectangular area of pixels to an ImageConsumer from an
> ImageProducer and I only want to repaint that very area, what shall I
> do?
> Even though i specify the boundaries of the new pixel data in
> setPixels(), the boundaries
> in imageUpdate are still the same as the dimensions of the total image
> size.
> Perhaps I am doing something wrong?
> The reason for this is that i want to be able to modify individual
> pixels in the array that holds the RGB components, and repaint _only_
> that single pixel, and not the entire image.
> Help!
>
> Thanks.
> Johan
>
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 2D Home Page: http://java.sun.com/products/java-media/2D/
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/