Home arrow static arrow Java Programming [Archive] - Showing folders in a tree
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Showing folders in a tree
This topic has 1 reply on 1 page.

Posts:121
Registered: 12/16/03
Showing folders in a tree  
Aug 2, 2004 10:20 AM



 
Hi,

I want to make a program which adds files and folders to a tree. I started making one using TreeControl, but i only managed to display the drives but nothing else.

I would like to see some code that can read all the files and folders on my computer and then put them in a tree just like in windows explorer window.

I probably modify the code to my needs but i be most grateful for an example of how this is done.

Thanks in advance!
 

Posts:343
Registered: 7/13/04
Re: Showing folders in a tree  
Aug 2, 2004 10:26 AM (reply 1 of 1)



 
http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

thats a pretty good explanation
 
This topic has 1 reply on 1 page.