S
seung_shin
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
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