Article View: borland.public.jbuilder.java.api
Article #3121Re: Help: Serialized checkbox not checking
From: D.A. Mazzella
Date: Wed, 13 May 1998 00:00
Date: Wed, 13 May 1998 00:00
78 lines
3453 bytes
3453 bytes
--------------F90D20034ADE7DC077303FBF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Just wnated to et you know... I fixed the problem by changing CheckboxControl to just plain ol' Checkbox I guess CheckboxControl cannot be sucessfully serialized, but CheckBox can be... D.A. Mazzella wrote: > For a project I'm doing for the computer science department at UNLV. > I've created a class named Course, a class named Curriculum that uses > the Course class, and the frame that uses the Curriculum class. The > Course class has a CheckboxControl object (along with some other > stuff. > > When I run the program for the first time, I can check the boxes > successfully, but after I serialize the curriculum object, exit, and > "de"serialize it, the checkbox will not check or decheck (if it was > checked when it was first serialized). The Curriculum object has some > ChoiceControl objects that work OK when serialized and "de"serialized. > > Is there something in the CheckboxControl > Here are my a sample of my classes. If you need more, i can supply > it. > <SNIP> > -- > D.A. Mazzella dan@mazzella.org http://dan.mazzella.org/ > mazzella@nevada.edu http://www.cep.net/~mazzella/ > --------------F90D20034ADE7DC077303FBF Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <HTML> <TT>Just wnated to et you know... I fixed the problem by changing CheckboxControl to just plain ol' Checkbox</TT> <P><TT>I guess CheckboxControl cannot be sucessfully serialized, but CheckBox can be...</TT> <BR> <P>D.A. Mazzella wrote: <BLOCKQUOTE TYPE=CITE> <TT>For a project I'm doing for the computer science department at UNLV. I've created a class named Course, a class named Curriculum that uses the Course class, and the frame that uses the Curriculum class. The Course class has a CheckboxControl object (along with some other stuff.</TT> <P><TT>When I run the program for the first time, I can check the boxes successfully, but after I serialize the curriculum object, exit, and "de"serialize it, the checkbox will not check or decheck (if it was checked when it was first serialized). The Curriculum object has some ChoiceControl objects that work OK when serialized and "de"serialized.</TT> <P><TT>Is there something in the CheckboxControl</TT> <BR><TT>Here are my a sample of my classes. If you need more, i can supply it.</TT> <BR><TT><SNIP></TT></BLOCKQUOTE> <BLOCKQUOTE TYPE=CITE><TT>--</TT> <BR><TT>D.A. Mazzella dan@mazzella.org <A HREF="http://dan.mazzella.org/">http://dan.mazzella.org/</A></TT> <BR><TT> mazzella@nevada.edu <A HREF="http://www.cep.net/~mazzella/">http://www.cep.net/~mazzella/</A></TT> <BR><TT> </TT></BLOCKQUOTE> </HTML> --------------F90D20034ADE7DC077303FBF--
Technical Details
Message-ID:
<355A8FCD.475FA94F@mazzella.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35592687.A9EE384@mazzella.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,1a9a6ec581e1516 X-Google-Attributes: gid1089d0,public From: "D.A. Mazzella" <dan@mazzella.org> Subject: Re: Help: Serialized checkbox not checking Date: 1998/05/13 Message-ID: <355A8FCD.475FA94F@mazzella.org> X-Deja-AN: 353118785 References: <35592687.A9EE384@mazzella.org> Content-Type: multipart/alternative; boundary="------------F90D20034ADE7DC077303FBF" Organization: Mazzella Internet Services Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api