I am trying to develop a tree in the following structure.
I have all those folder names inside a vector and file names inside another vector. The folders can or cannot have children.
How to implement this?
I made a thorough study from http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html#display
and refeered and modified the examples given there to suit my requirements, unfortunately nothing seems to work for me properly(according to my requirement above). If needed I will post the stupid codes developed by me.
Please provide some tips, links or codes based on which i can develop the rest.