S
seung_shin
From: (e-mail address removed) (seung_shin)
Newsgroups: comp.lang.java.gui
Subject: JTree Directory System
NNTP-Posting-Host: 157.127.124.141
Message-ID: <[email protected]>
I am new to using JTree in JAVA. I implemented my own FileSystemModel
that implements TreeModel. It displays directories only in the file
system. It works fine except I get
C:\Mailbox
C:\Mailbox\Inbox
C:\Mailbox\Sentbox
C:\Mailbox\Savedbox
C:\Mailbox\Savedbox\Notes
How and where do I change it so it will display
Mailbox
Inbox
Sentbox
Savedbox
Notes
Also it displays the tree collapsed when I run it. I can expand the
tree by click on the node but I would like to have an expanded tree as
a default.
Thanks for help in advance~
Seung
Newsgroups: comp.lang.java.gui
Subject: JTree Directory System
NNTP-Posting-Host: 157.127.124.141
Message-ID: <[email protected]>
I am new to using JTree in JAVA. I implemented my own FileSystemModel
that implements TreeModel. It displays directories only in the file
system. It works fine except I get
C:\Mailbox
C:\Mailbox\Inbox
C:\Mailbox\Sentbox
C:\Mailbox\Savedbox
C:\Mailbox\Savedbox\Notes
How and where do I change it so it will display
Mailbox
Inbox
Sentbox
Savedbox
Notes
Also it displays the tree collapsed when I run it. I can expand the
tree by click on the node but I would like to have an expanded tree as
a default.
Thanks for help in advance~
Seung