Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: FredK Newsgroups: comp.lang.java.gui Subject: JTree indentation Date: Tue, 7 Aug 2012 14:54:43 -0700 (PDT) Organization: http://groups.google.com Lines: 15 Message-ID: <311be386-7224-45cf-bfce-d0050ba453e6@googlegroups.com> NNTP-Posting-Host: 130.76.32.99 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1344376566 11164 127.0.0.1 (7 Aug 2012 21:56:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Aug 2012 21:56:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=130.76.32.99; posting-account=_7xgmwoAAADi7iXKBO-oX5zbCfSzsCV0 User-Agent: G2/1.0 X-Received-Bytes: 1416 Xref: csiph.com comp.lang.java.gui:5221 How do I control the amount of indentation for a JTree? I have found documentation for properties "Tree.leftChildIndent" and "Tree.rightTreeIndent" that is confusing to me as to what they do. The documentation for leftChildIndent says: This plus Tree.rightChildIndent account for the total space, along the y axis, to offset nodes from their parent. I don't understand this. Indentation is horizontal (along the x axis, not y). Regardless, I tried setting either or both of these properties with no effect.