Re: Double click on a node in JTree
Thursday, June 13, 2002 03:46 PM
JTree has a variable toggleClickCount which decides the number of mouse clicks to expand/collpase the nodes. The default value is 2. You can change it by using the setToggleClickCount method of JTree.
Hope this helps.