View Single Post
Old 08-21-2012, 04:19 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,752
Thanks: 4
Thanked 2,468 Times in 2,437 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Glad you found what you are needing to do.
Java's JTree defaults won't match what you are looking to do visually. Using custom renderer's may help on that one, but after a quick test I can't get the little rotation icon to go away (or + sign, or whichever depending on your theme). So it looks like you may need to hit the actual paint of the TreeCellRenderer object in order to get around that and match what you are doing here.
Fou-Lu is offline   Reply With Quote