This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTree UI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree UI" Watch "JTree UI" New topic
Author

JTree UI

Nike Smith
Greenhorn

Joined: Oct 05, 2007
Posts: 11
Does someone know how to move icons further left?

Let's say, I have a tree


and I want it to look similar to this:

Thanks for any ideas.
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2156
    
    7
Take a look at the UIManager Defaults. I've never tried it, but the "rightChildIndent" (or leftChildIndent, I don't know what the difference is) might be what you are looking for.
Nike Smith
Greenhorn

Joined: Oct 05, 2007
Posts: 11
Thank you, Rob!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTree UI
 
Similar Threads
NULL values in FK field
java has the address of a variable´╝č and what is the meaning of the instance count?
Naming convention for methods with JUnit
Help parse using JAXP
XSLT - is it possible?