anyway to make objects in an arraylist serializable??
807597May 10 2005 — edited Nov 2 2007im doing an assignment which im using objectinput/output streams to send over an arraylist, i know arraylist implements serializable already but problem is i did a search on this site and it said the objects in the arraylist must also be serializable. im storing Image objects in my arraylist, which arent serializable. any suggestions as to how i can still send over this arraylist of Image objects and not have a
java.io.NotSerializableException: sun.awt.image.ToolkitImage
exception? would making my own arraylist class and having it implement serializable solve the problem? or do i have to go the route of making my own Image class and have it serializable the only way?
thanks in advance