aspose file tools*
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
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: 2169
    
    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