Hi all,
I’m trying to draw a BufferedImage (image1) on another BufferedImage (image2) , using drawImage(Image i, int x, int y, ImageObserver o). Before and after calling the drawImage on the graphics of the second image, I show a JFrame containing a debug Jlabel, which has an icon with the image1. The problem is that if drawImage is called, the image1, is shown corrupted in both the frames although the one of them is constructed before calling the drawImage. drawImage always returns true, so this is not a “not ready image” problem.
What is causing the corruption of the source image? Any ideas?
TIA
N