On Wednesday, June 25, 2003, at 10:39 AM, neil wrote:
I can Serialize/Deserialize small objects easily, but I get a
'StackOverFlowError' if I try to Deserialize a complex gui.(the Serialize
works fine, I assume, because no exceptions were thrown!);
I've used object serialization quite a bit, (too much, actually) but never on an entire GUI. Typically you'd want to separate your data from the GUI architecturally, and then just save the model to disk.
One thing to MAKE SURE YOU DO is to use the application serialver and put an ID in each object you wish to serialize. If you don't do this, anytime you change a serialized object even a little bit you will be unable to read previously serialized versions of the object.
________________________________________________________________________ _________
Some try to achieve immortality by performing grand deeds or the accumulation of
great wealth. On the whole I prefer to achieve immortality by not dying. -- Pratchett
-- michael at czeiszperger dot org, Chapel Hill, NC
_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org
