🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Serialization problem with JDK 1.2

#9676
From: John P. McGrath
Date: Mon, 14 Feb 2000 00:00
23 lines
1404 bytes
On Mon, 14 Feb 2000 14:39:39 +0100, Jean-Paul Bouzigues wrote:

>       toolTipManager.unregisterComponent(jCheckBox1);
>       toolTipManager.unregisterComponent(jCheckBox2);
> 
>       out.writeObject(jCheckBox1.getModel()); // no exception !!!
>       out.writeObject(jCheckBox2.getModel()); // no exception !!!
> 
>       toolTipManager.registerComponent(jCheckBox1);
>       toolTipManager.registerComponent(jCheckBox2);

> The problem is that the JChechBox components become disabled 
> after my code call !!!

I can't think of any reason why that should disable the checkboxes.  It 
may be that the unregister code does not work properly.  I imagine that 
it has seldom been used in a context where tool-tips are unregistered, 
but the checkbox is not disposed of.

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.13129543587236ed989791@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <87u04v$c5b1@bornews.borland.com> <MPG.130d6abfe97b8303989786@forums.borland.com> <888vqp$hui2@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d2dcd289d922d7d1
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: Serialization problem with JDK 1.2
Date: 2000/02/14
Message-ID: <MPG.13129543587236ed989791@forums.borland.com>
X-Deja-AN: 585973299
References: <87u04v$c5b1@bornews.borland.com> <MPG.130d6abfe97b8303989786@forums.borland.com> <888vqp$hui2@bornews.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing