posted 21 years ago
Hi.
Dare I hope for one of those helpful hints I have been getting on and off ???
I have managed to "serialize" an image from a Blob (either .jpg or .gif) - that's the good news.
Trying to display them from the serialized record has been a disaster :
=> demoApplet: Connection com.developer.Tunnel.RemotedemoClient@659db7 has been initialized.
java.lang.NullPointerException
at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at com.developer.Tunnel.demoApplet.paint(demoApplet.java:235)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
*******
Here is the code :
Regards
exhausted!
[ November 03, 2002: Message edited by: achana chan ]