🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18342

TreeControl

#18342
From: Marek Koczwara
Date: Sat, 11 Jul 1998 00:00
24 lines
999 bytes
Where can I get more information on constructing these Directory trees?

I don't know how to perform the following statement:

dirName is a string
pageName is also a string

addNodeToTree (treeControl1.getRoot(), dirName, pageName);

  void addNodeToTree (GraphLocation d, TreeControl t, String s) {
   // adds the child nodes
   GraphLocation node = t.addChild(d, s);
  }

Ultimately this would make a tree like:
v Root
    v dirName
        > pageName
        > pageName
    v dirName
        > pageName
        > etc.

Thanks...
Technical Details
Message-ID: <6o82os$pui16@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,7afebcc333045454,start
X-Google-Attributes: gidf74b3,public
From: "Marek Koczwara" <walrus@enterprise.net>
Subject: TreeControl
Date: 1998/07/11
Message-ID: <6o82os$pui16@forums.borland.com>
X-Deja-AN: 370506868
Organization: Another Netscape Collabra Server User
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language