Re: Error



You are right, there is an OffScreenImage but I don't know where it is
because I am relatively new to this. I will now have a hunt around but any
tips you have on finding it would be appreciated.

Thank you for taking the time to respond.

Oliver wrote:
>I may be wrong, but the error message you're getting,
>java.io.NotSerializableException: sun.awt.image.OffScreenImage, seems
>to tell me that inside one of your classes there is an
>"OffScreenImage". It is this object which is not serializable.
>
>To the best of my knowledge, objects in your class must be
>serializable, not just your class itself. Are you sure that
>OffScreenImages, a part of the sun.awt.* packages, is serializable?
>
>Maybe you need to subclass OffScreenImage and write a serialization
>routine for it. Just an idea, I am not sure if that is the best way to
>fix it.
>
>Oliver Richman

--
Message posted via http://www.javakb.com
.