hi im trying to change the jtree renderer to do the following: each node in the tree should be on a panel which contains two lables, the left label which is the node name and its icon, and the right label which would be a legend. i already created that and it works, the problem is that i want the legend label(the right label) to be aligned to the right of the tree, but i cant get it to work because it aligns label to the right of panel, but the panel itself isnt as wide as the tree component. how can i tell jtree to set each of the nodes panels to be as wide as the jtree itself?
here's how it should look like:http://www16.brinkster.com/talgo/eg.jpg this is what i get:http://www16.brinkster.com/talgo/current.jpg
[ April 16, 2006: Message edited by: Tal Goldstein ] [ April 16, 2006: Message edited by: Tal Goldstein ]