Expounding on what Ralph suggested, have you considered JDom?  If you
implement your own TreeModel and/or TreeNode classes that use JDom's
capabilities, you could easily save the structure to an XML file.

Regards,
Steve

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 4:47 AM
Subject: Re: JTree Data?


> How about using XML?
>
> Ralph
>
> -----------------------------------------------------
>  Ralph Kar               |
>  Software Developer      | mailto:[EMAIL PROTECTED]
>  RTS Realtime Systems AG | http://www.rtsgroup.net
> -----------------------------------------------------
>
> On Thu, 25 Jul 2002, Ruel wrote:
>
> >
> > Any idea how to save into file and retrieve from file the entire content
> > of JTree(hierarchical data)?
> >
> > Tia.
> > Ruel.
> >
> > _______________________________________________
> > Advanced-swing mailing list
> > [EMAIL PROTECTED]
> > http://eos.dk/mailman/listinfo/advanced-swing
> >
>
> _______________________________________________
> Advanced-swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/advanced-swing
>
>


_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to