By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,677 Members | 1,069 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,677 IT Pros & Developers. It's quick & easy.

How to create a tree view structure for folders in java

P: n/a
Hi

I want to create a tree type structure for my folders directory in
java how i can do it. I know it will be a big programming but how to
start please advice.
Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Clarify what u mean?

Is the creation of the folders in
1) SWING GUI
2) HTML GUI
3) Data structure

:D

"megha" <me***@4cplus.com> wrote in message
news:ee*************************@posting.google.co m...
Hi

I want to create a tree type structure for my folders directory in
java how i can do it. I know it will be a big programming but how to
start please advice.

Jul 17 '05 #2

P: n/a
me***@4cplus.com (megha) wrote in message news:<ee*************************@posting.google.c om>...
Hi

I want to create a tree type structure for my folders directory in
java how i can do it. I know it will be a big programming but how to
start please advice.


look at the API for java.io.File
Jul 17 '05 #3

P: n/a
Actually my folders and parent folders are stored in one table of my
sql database and i am working on jsp and java to retrieve it how i can
display it in tree view structure on my application. folders have
documents also inside it.



"Mohamad Fazli" <fu**@streamyx.com> wrote in message news:<40**********@news.tm.net.my>...
Clarify what u mean?

Is the creation of the folders in
1) SWING GUI
2) HTML GUI
3) Data structure

:D

"megha" <me***@4cplus.com> wrote in message
news:ee*************************@posting.google.co m...
Hi

I want to create a tree type structure for my folders directory in
java how i can do it. I know it will be a big programming but how to
start please advice.

Jul 17 '05 #4

P: n/a
in cooperation with going thur the api, be prepared to think in terms of
recursion...

- perry

Glenn wrote:
me***@4cplus.com (megha) wrote in message news:<ee*************************@posting.google.c om>...
Hi

I want to create a tree type structure for my folders directory in
java how i can do it. I know it will be a big programming but how to
start please advice.

look at the API for java.io.File


Jul 17 '05 #5

P: n/a
ih****@yahoo.com (Glenn) wrote in message news:<44*************************@posting.google.c om>...
me***@4cplus.com (megha) wrote in message news:<ee*************************@posting.google.c om>...
Hi

I want to create a tree type structure for my folders directory in
java how i can do it. I know it will be a big programming but how to
start please advice.


look at the API for java.io.File


And javax.swing.JTree
Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.