persisting dialog items
- From: hilz <now@xxxxx>
- Date: Fri, 28 Oct 2005 21:15:25 -0400
Hi
If i have a JDialog that has a JPanle with numerous items (JTextFields,
JCheckBoxes and so on)... and i want to persist the state of this panel,
what is the recommended way?
I am thinkig i need to serialize the JPanel, save it in a file, and then
load it on startup, but then how would i restore the references of the
objects?
for example if i have a
JTextField name;
how would i make the "name" reference point to the name that was
serialized before?
is there another "easier" way of persisting dialog items?
Thanks
.
Relevant Pages
- Re: XML Serialize question
... > I am using XmlSerializer to serialize my object. ... > However, one member is declared as a reference to an abstract> base class, IShape. ... The member actually references a concrete subclass> such as Square or Circle. ... (microsoft.public.dotnet.languages.csharp) - Re: Vector length in bytes
... to make correct blocks of data i need to know the subj. ... If you wanna know the serialized size of the object you can serialize the object in a ByteArrayOutputStream and the call the sizemethod. ... In general there is no way to know how much memory a Vector occupies. ... What if it inlines away some of the references altogether? ... (comp.lang.java.programmer) - Re: Girl Genius 2008-12-09 - purple frills
... other references, ... Third panel, partly obscured behind the word balloon, "Goblins". ... seems a sketchy representation of one of the goblins from the webcomic. ... (rec.arts.sf.written) - Re: Epson Perfection 3200 and 4870 scanners ocr
... I found the OCR binaries in ... E:\Program Files\EPSON\Smart Panel ... The latter when viewed in binary mode has references to C:\FineReader4. ... (comp.periphs.scanners) - XML Serialize question
... I am using XmlSerializer to serialize my object. ... various public members which are object references. ... one member (mShape) is declared as a reference to an abstract ... (microsoft.public.dotnet.languages.csharp) |
|