e children and prints them.
On 2/13/06, Gangaa D <[EMAIL PROTECTED]> wrote:
>
> How do I loading data in tree model from database
> table by Java?
> 1) ReadData(Result); read following table;
> table structure:
> id msg child
> 1 msg1 0
> 2 msg2 1
> 3 msg3
How do I loading data in tree model from database
table by Java?
1) ReadData(Result); read following table;
table structure:
id msg child
1 msg1 0
2 msg2 1
3 msg3 2
2) ViewTree(); print following tree;
Tree View:
msg1
msg2
msg3
Please help me solve it