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 ?