File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Question about drawImage on jdk1.6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Question about drawImage on jdk1.6.0" Watch "Question about drawImage on jdk1.6.0" New topic

Question about drawImage on jdk1.6.0

zhong hb

Joined: Oct 18, 2005
Posts: 7
I want to update my program from jdk1.5 to jdk1.6.but Exception occur
when Graphics2D.drawImage(Image image,AffineTransform at,ImageObserver ios) called.

Cannot construct MaskBlit for XOR mod
at sun.java2d.loops.MaskBlit.makePrimitive(
at sun.java2d.loops.GraphicsPrimitiveMgr.locate(
at sun.java2d.loops.MaskBlit.locate(
at sun.java2d.loops.MaskBlit.getFromCache(
at sun.java2d.pipe.DrawImage.renderImageXform(
at sun.java2d.pipe.DrawImage.transformImage(
at sun.java2d.pipe.DrawImage.transformImage(
at sun.java2d.SunGraphics2D.drawImage(
at sun.awt.image.ImageRepresentation.drawToBufImage(
at sun.java2d.pipe.DrawImage.transformImage(
at sun.java2d.pipe.ValidatePipe.transformImage(
at sun.java2d.SunGraphics2D.drawImage(

I agree. Here's the link:
subject: Question about drawImage on jdk1.6.0
It's not a secret anymore!