473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to create a tree view structure for folders in java

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
5 8306
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Steve Johnson | last post by:
Been banging my head on this for two days now. Hope someone can help! My test program below is in the form of a single JSP, with a Node class build in. (All the coded needed to run is below.) ...
0
by: John H. | last post by:
In effort to understand (Outlook) MAPI folder tree structure wrote simple linear code below to navigate tree. Successive "...Folders.GetNext()"'s return same folder at all levels of tree. What...
1
by: kjon | last post by:
Hi, I'm doing a tree view which will show the file structure in an FTP server. How can I get the standard windows icons for folders and files and display them in the tree view control? Do I need...
3
by: Brian Henry | last post by:
How would you go about doing this I have a tree view which where anything is a parent it is a folder (folder icon, and the tag for the object is a string that says "FOLDER:{name of folder...
0
by: Dilip | last post by:
hi all , i m trying to make such a tree view which specify some folder structure for installation i mean there is some folders mandatory. This is installation software. is based upon user...
4
by: shuisheng | last post by:
Dear All, I'd like to build a structure similar to the folder tree which 1. Has a root. 2. Nodes can be folder or files. 3. Folder can contain folders and files. 4. Name of folders and files...
1
by: ajaspersonal | last post by:
i wana to show "mycomputer"(i mean all drives and sub folders) in tree view structur plz send coding (asp.net with vb coding)
0
by: mansab | last post by:
Hi.. 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...
1
by: =?Utf-8?B?UHJhZGVlcCBFYXJsYQ==?= | last post by:
Hi I am having one windows application on my local machine and I want to display the folders(shared folders) of remote machine in tree view control of my win application. I haved added me as...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.