🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages Started by daniel Fri, 26 Dec 2003 04:30
How can I view a folder's content in another folder by Java
#1289
Author: daniel
Date: Fri, 26 Dec 2003 04:30
6 lines
1244 bytes
hi,
Now I am developing a tree view.I want to create the a folder(named MyWork) and then I use this folder to browse another folder's content(named MyDoc) which I can add MyDoc as a child element to MyWork element.When I click or expand MyWork I can view MyDoc and when I click MyDoc I can browse the content of MyDoc(a filesystem tree of MyDoc)
Can Java do it?
thanks in advance!
daniel 
Re: How can I view a folder's content in another folder by Java
#1312
Author: John McGrath [TeamB]
Date: Sat, 03 Jan 2004 08:52
18 lines
1386 bytes
On 12/25/2003 at 11:30:13 PM, daniel wrote:

> Now I am developing a tree view.
[snip]

> Can Java do it?

Yes.  See the JTree class.  There is some good information on using
JTree in "The Java Tutorial", which is available on the Sun web site.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads