This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

Question about drawImage on jdk1.6.0

zhong hb
Greenhorn

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(MaskBlit.java:110)
at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:142)
at sun.java2d.loops.MaskBlit.locate(MaskBlit.java:43)
at sun.java2d.loops.MaskBlit.getFromCache(MaskBlit.java:56)
at sun.java2d.pipe.DrawImage.renderImageXform(DrawImage.java:428)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:199)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:1029)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3106)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:840)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:1037)
at sun.java2d.pipe.ValidatePipe.transformImage(ValidatePipe.java:212)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3106)


why??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about drawImage on jdk1.6.0
 
Similar Threads
AffineTransform
Sunday 11pm - defeated by BLOB . Want to see whether you can do this ?
Question about drawImage
Java Native Code Error
null pointer exception...