aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Node selection problem in JTree Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Node selection problem in JTree" Watch "Node selection problem in JTree" New topic
Author

Node selection problem in JTree

mmahesh5
Greenhorn

Joined: Apr 03, 2002
Posts: 1
Hello,
I'm having a problem with the node selection in JTree. I have an applet with a JTree. When I select a leaf node, I have implemented a selection listener that handles the selection by opening a new URL. The selection works fine the first time I single click on the leaf node. Once the node is selected, if I single click on it again, nothing happens. I have to select a different leaf node and come back to the earlier node for the URL to open up again. I have tried many things like clearing the selection, handling the mouse click it etc to no avail. I'll really appreciate it if someone can help me out with this problem.
Thanks,
Mani
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Node selection problem in JTree
 
Similar Threads
Subtree in JTree
JTree
Problems with JTree and CheckBoxes
Jtree child selection problem
Checkbox with Jtree