🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
1 messages
1 total messages Started by seung_shin Wed, 17 Nov 2004 20:42
JTree Directory System
#903
Author: seung_shin
Date: Wed, 17 Nov 2004 20:42
27 lines
1359 bytes
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
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