How to lock a tree node so that it won't ever collapse



I have a DefaultMutableTreeNode that sometimes collapses on certain
hardware (like a trackball) when the mouse hovers over a child node in
my JTree.

How can I lock this one single node from collapsing? It's a root node
that's hidden so that all the second level child nodes appear, making
them look like multiple root nodes.

.



Relevant Pages

  • Treeview only one node group open all others collapsed
    ... Root Node 1 ... Child Node 1.1 ... expands and stays expanded unless it is clicked on again meaning I could have ... If Child Node 2.1 is then expanded the tree will show the following: ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Returning checked Nodes from Treeview form control
    ... I am using the Treview form control on a userform. ... I have a Root node called "Root" and a Child Node Called "Charts" than I ...
    (microsoft.public.excel.programming)
  • Multiline Treenode
    ... Root Node ... Child Node 1 ... I need a TreeNode that displays multiple lines of strings. ... Outgoing mail is certified Virus Free. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Multiline TreeNode
    ... Root Node ... Child Node Line 1 ... I need a TreeNode that displays multiple lines of strings. ... Posted Via Usenet.com Premium Usenet Newsgroup Services ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Multiline TreeNode
    ... > Root Node ... I need a TreeNode that displays multiple lines of strings. ... > Child Node Line 2 ... > Posted Via Usenet.com Premium Usenet Newsgroup Services ...
    (microsoft.public.dotnet.languages.vb)