JTree node partially visible
- From: akhila <akhila.ragunadhan@xxxxxxxxx>
- Date: Thu, 31 Jan 2008 04:15:19 -0800 (PST)
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.
.
- Follow-Ups:
- Re: JTree node partially visible
- From: Daniele Futtorovic
- Re: JTree node partially visible
- Prev by Date: Re: return result to php
- Next by Date: Writing Application Specific Information to ID3 Tag
- Previous by thread: return result to php
- Next by thread: Re: JTree node partially visible
- Index(es):
Relevant Pages
|