JTree node partially visible



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.
.



Relevant Pages

  • Re: About the "explosives in the WTC" thing
    ... I said that since one tower got hit in ... have an observable lateral motion, ... A building is going to collapse more than it will pivot like a tree, ...
    (rec.sport.football.college)
  • problem with TreeView and Form.ShowInTaskbar attribute
    ... collapse their selected node. ... I've seen this with VS2003 or windows XP sp2. ... now expand the tree nodes and press the button. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: The perfect Pride 08 accessory.
    ... maybe if the rest of us just tiptoe away, they'll chase each other ... around and around the tree until they collapse ...
    (soc.motss)
  • Re: The perfect Pride 08 accessory.
    ... maybe if the rest of us just tiptoe away, they'll chase each other ... around and around the tree until they collapse ... Like buttah? ...
    (soc.motss)