Article View: borland.public.jbuilder.java.language
Article #18894Best way to save data
From: Jacques Chaurette
Date: Fri, 03 Apr 1998 00:00
Date: Fri, 03 Apr 1998 00:00
15 lines
1180 bytes
1180 bytes
Hi, I have a program with lots of buttons, checkboxes, widgets, etc. and of course data (in and out). I would like to be able to save all the data and the state of widgets. My plan is to convert all these values to strings and create a long string with these values separated by commas. (I have tested this and it works fine). Or perhaps better, put the values in a string array and save the string array. I am not sure of what the mechanics are of saving a string array vs. a string. Is this the best way to do this? What about using the properties method for saving the configuration data? Would it be a good idea to use this for the config. data and then use the string array only for the in/out data? Thanks for the help. Jacques
Technical Details
Message-ID:
<6g2i0d$c719@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,cbe25b97218935ce,start X-Google-Attributes: gidf74b3,public From: "Jacques Chaurette" <jacobie@cam.org> Subject: Best way to save data Date: 1998/04/03 Message-ID: <6g2i0d$c719@forums.borland.com> X-Deja-AN: 340487476 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Fluide Design Inc. Newsgroups: borland.public.jbuilder.java.language