Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

g.drawImage(...) not working with a print graphics env.

 
Paul Bailey
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to print and this isn't working

where g is a Graphics object. It fails when I get the Graphics context from code like this:

where this is extends frame and panel is the above mentioned panel.
The error I get is odd too, I don't know what to make of it:
#
# An EXCEPTION_FLT_DIVIDE_BY_ZERO exception has been detected in native code out side the VM.
# Program counter=0x500c245e
#
What should I do ?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question is more likely to get a response in Java In General (Intermediate). I'll move the thread there.
Bodie
 
You don't like waffles? Well, do you like this tiny ad?
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!