Article View: borland.public.jbuilder.java.swing
Article #1463Re: JTreeTable
From: Paul Furbacher
Date: Fri, 28 Nov 2003 17:52
Date: Fri, 28 Nov 2003 17:52
42 lines
2297 bytes
2297 bytes
Rocket wrote:
> How I can design JTreeTables in JBuilder? Is it possible?
There are examples of tree tables out on
the Web. I was looking at some from Java.sun.com
and other places recently.
Are you using one of those?
If you are, does the component have a no-parameter
constructor? If it does, it may be possible to
add the component to the palette. See the
on-line Help; "Index" tab -- "adding components"
Look at the sub-topic "to component palette".
(Earlier versions of JBuilder may have this
indexed in a different manner, but it _is_ in
the Help.)
It may be difficult to display the model "live"
in the Designer, since creating a tree model is
usually a multiple-step process of adding nodes.
However, some tree models may be described as
a 2d-array. In such a case, try declaring the
array as a member variable, and initialize
it with fake data as you declare it.
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
Technical Details
Message-ID:
<3fc78b43$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3fc69cb9@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,c6a7616fd92f4341 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-11-28 09:58:04 PST Date: Fri, 28 Nov 2003 12:52:05 -0500 From: Paul Furbacher <pfurbacher@mac.com> User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: JTreeTable References: <3fc69cb9@newsgroups.borland.com> In-Reply-To: <3fc69cb9@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 68.39.103.120 Message-ID: <3fc78b43$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1070041923 68.39.103.120 (28 Nov 2003 09:52:03 -0700) Lines: 43 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail