Hi,
> I'm writing a Java server application which sends (via socket) an image
> to an applet.
Good luck. Image objects are not serializable. In other words, they are
not willing to be sent over a network. I encountered the same problem in
my work. The reason, or so Sun claims: Image objects
Dear Stefano,
Use PixelGrabber to get an array of bytes (for IndexColorModel) or integers
(standard RGB); send the array, and use MemoryImageSource to re-assemble on
the other end. Image is not a serializable class - I can't imagine why.
If you must use object streams, wrap the pixels and red, gr