Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #215
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> |
| Subject | Re: how to print the data |
| Message-ID | <1164694016.524437.241360@45g2000cws.googlegroups.com> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <1164622771.833612.145020@j72g2000cwa.googlegroups.com> |
| References | <1164622771.833612.145020@j72g2000cwa.googlegroups.com> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 45 |
| Date | Wed, 27 Apr 2011 15:26:16 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303917976 96.60.20.240 (Wed, 27 Apr 2011 10:26:16 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:26:16 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:215 |
Show key headers only | View raw
To: comp.lang.java.gui Andrew Thompson wrote: > ashwinijain wrote: > ... > > > > even i want to save that form as it is (i mean, i want to save that > > > > data with its GUI)... > > There are a number of ways (and levels) of saving > and restoring the state of a GUI. > > Here are some.. > > - implement serializable on the classes*, then > write/restore them as required. That is fragile > across class version changes (breaks). > - If using 1.4+, use the XMLDecoder/Encoder > for the same basic thing. > > * Although you might store/restore 'the frame' and > all its components, it might makes sense to store a > more limited form of the data, such as a CSV file > that is the data in the JTable. If that is the case, > simply create a custom object to contain the > data of interest (or store the Vector that is the data, > etc.) - this can even help prevent the class version > changing when using serialisation. > > - Use Properties(?) class > - Use the Web-Start API PersistenceService > > The last two will only accept token/value String's, AFAIR. > > HTH > > Andrew T. thanks but i want to print the java components on paper.. how can i print it.. how to use printable class? --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
how to print the data wit "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "Srik" <srik@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "Srik" <srik@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "Michael Dunn" <michael.dunn@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
Re: how to print the data "Michael Dunn" <michael.dunn@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
csiph-web