• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!