Hello Guys,
I just posted the following question but i made a mistake. What i want is not how to use Eclipse but how to build the tree-like structure. An element can have more than one children. So show me how to build the tree; It is not actually tree but to build the structure as i have show below. Thanks
I am haveng this problem with my application and need help. I have data from the server in this form
Food Apple Fruit Seed etc..
Table Chair pen School et..
...
Food Mango Peer Melon etc..
Reading from the left, i want to make for eg; in the first row,
Food parent of Apple
Apple parent of Fruit
Fruit parent of Seed
and if there are more data then etc.. I will itereate over the above data from the server with loop; Example:::
+Food
Apple
Fruit
Seed
etc..
+Table
Chair
Pen
School
etc..
In the above code, "Food" and "Table" belong to the same level. My problem is how do i begin. I have googled the whole day but can't find something that i really understand. How can i for instance make "Food" parent and make Apple its child and then make Fruit the child of apple and so forth. Show me how to build the tree.
Need your help.
Thanks