Article View: borland.public.jbuilder.java.swing
Article #7955Re: How do i get rid of the JTree branch Lines?
From: John McGrath TeamB
Date: Wed, 15 Nov 2000 00:00
Date: Wed, 15 Nov 2000 00:00
21 lines
1120 bytes
1120 bytes
On Thu, 26 Oct 2000 22:25:48 -0400, Ross Pellegrino wrote:
> Does anyone know how to get rid of the branch lines?
I do not think there is a way that will work with all look-and-feels.
The Metal look-and-feel has a way to change the line style:
tree.putClientProperty( "JTree.lineStyle", STYLE );
where STYLE is "Angled", "Horizontal", or "None". I remember this
did not seem to work exactly as expected it to, but it may do what
you want.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.147bf71bd6337132989d1f@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39f8e682$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,4efe346949885c74 X-Google-Attributes: gid111d45,public From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Subject: Re: How do i get rid of the JTree branch Lines? Date: 2000/11/15 Message-ID: <MPG.147bf71bd6337132989d1f@forums.borland.com> X-Deja-AN: 693815352 References: <39f8e682$1_1@dnews> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing