• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

saving object state in object while writing-reading object in streams

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
i have problem in reading object while i wrote(object output stream) an object having an object (for propeties like color, font,style) init, lost their new change during writing & reading again through object input stream.
thanxs in adv.
V
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Welcome to JavaRanch!
I'm not sure I understand your question: it sounds like you're saying that if you write out an object, change it, then read it back in, the changes get overwritten; but of course that can't be what you're saying, because surely that's the behavior you'd expect.
Can you try to rephrase your question?
Also, this has nothing to do with performance; I'm going to move it to I/O and Streams
[ October 13, 2003: Message edited by: Ernest Friedman-Hill ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic