I need a source code that implements the simple tree approach but each node can adjust for more than 2 childs.Is it possilbe or yet another option available.
Plz provide the module or source code.
You mean the programming concept of a tree instead of a graphical tree? Check the class
TreeList from apache or write your own tree.
If you want to write your own tree, think about what the concept of a tree is. You can have a class
Node which is a container class for some data (Strings, Integers, other Objects...) plus it has a Collection (Vector, Array, List, ...) of children (also nodes). It must have a "addChild" method and a "getChild" method, maybe a "search" method or similar,... Depends on what you want.
Try writing it and if you need help, ask here! :-)
Hope that helps.
Greetings,
Nepomuk