🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #782

Re: regaining functionality from save file

#782
From: John McGrath [TeamB]
Date: Tue, 28 Dec 2004 08:36
23 lines
1757 bytes
On 12/27/2004 at 12:00:18 PM, Alan Shiers wrote:

> I'm working on a project where I'm saving to file a subclass of JPanel,
> which in turn contains other objects. All the objects being saved in the
> project implement Serializable.

Did you notice the following in the JPanel JavaDocs:

   Warning:  Serialized objects of this class will not be compatible
   with future Swing releases. The current serialization support is
   appropriate for short term storage or RMI between applications
   running the same version of Swing. As of 1.4, support for long
   term storage of all JavaBeansTM  has been added to the java.beans
   package. Please see XMLEncoder.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <xn0drjdwa6iyqr9003@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41d0409e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,24838fa202265eb4
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: regaining functionality from save file
Newsgroups: borland.public.jbuilder.java.swing
References: <41d0409e$1@newsgroups.borland.com>
User-Agent: XanaNews/1.16.5.2
Message-ID: <xn0drjdwa6iyqr9003@newsgroups.borland.com>
X-Ref: newsgroups.borland.com ~XNS:000000C8
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 141.158.234.226
Date: 28 Dec 2004 00:36:00 -0800
X-Trace: newsgroups.borland.com 1104222960 141.158.234.226 (28 Dec 2004 00:36:00 -0800)
Lines: 23
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail