A
akhila
Hi all,
I have issues with my custom Jtree. When the tree is displayed the
nodes are only partially visible. But when I manually expand and
collapse the nodes, they are in proper size.
The node of the Tree is a Label followed by a TextPane. (Label for
icons and TextPane for the text). I use TextPane
because usually the text will be more than 2 lines.
When the node of a Jtree is updated or added, the node becomes
partially visible.
Only the first line of the text is visible, the rest of the text
becomes visible only after I expand the node
model.nodechanged()
model.nodeStructureChanged
tree node expansion, collapse didnt work for me.
I have issues with my custom Jtree. When the tree is displayed the
nodes are only partially visible. But when I manually expand and
collapse the nodes, they are in proper size.
The node of the Tree is a Label followed by a TextPane. (Label for
icons and TextPane for the text). I use TextPane
because usually the text will be more than 2 lines.
When the node of a Jtree is updated or added, the node becomes
partially visible.
Only the first line of the text is visible, the rest of the text
becomes visible only after I expand the node
model.nodechanged()
model.nodeStructureChanged
tree node expansion, collapse didnt work for me.