Search « JTree « Java Swing Q&A





1. Searching a JTree    stackoverflow.com

I've got a JTree, which I am trying to search. I've written a quick recursive search function. The function takes a parent/child node name pair as a string.

private void RecursiveSearch(javax.swing.tree.DefaultMutableTreeNode node, ...

2. Graphical Binary Search Tree - Node Spacing    stackoverflow.com

I'm having difficulty calculating the spacing between nodes in a binary search tree for my assignment. I have the GUI implemented where I can manually create a tree or create it ...

3. Binary Search Tree Visualisation In Java    stackoverflow.com

Hi I am currently doing the testing phase of my project(Algorithm Visualization Tool). I am getting a problem with the delete method of my BST.

 public boolean delete(String key) {
boolean deleted ...

4. JTree Search Recursion Issue    stackoverflow.com

I am new to using JTree, so please bear with me if I am overlooking some very basic things. I am working on a Jtree file explorer. It takes a directory, ...

5. find function in JTree..urgent!!    coderanch.com

Hello All, I have a JTree component in an applet which has a JTextField below it. Now I want to type a node name in the textfield & when I press "Enter" key it should select. I'm able 2 do this but I also want it in such a way that if there are multiple nodes with the same name ,then ...

6. Find function in Jtree..urgent!!    coderanch.com

Hello All, I have a JTree component in an applet which has a JTextField below it. Now I want to type a node name in the textfield & when I press "Enter" key it should select. I'm able 2 do this but I also want it in such a way that if there are multiple nodes with the same name ,then ...

7. Searching a JTree    coderanch.com

New task ... ! I have this tree, whose nodes I create from a database. As I read in the details for each node, I create the node, add it to the Tree, and enter it into a hashMap. For each subsequent node, then , I can check that it hasn't already been created. That all works fine. The HashMap simply ...

9. Searching JTree    coderanch.com

Hi, I am writing an application in which I have a tree with all the nodes created. I have a text field adn when the user enters a text and press the button, I should be able to go to that particular node. As I am new to Java, please help me ... ------------------





10. find the location of tree node    coderanch.com

12. How to find selected nodes of a tree    coderanch.com

13. find org.jdom.Element in JTree    coderanch.com

14. Paint Binary Search Tree to Scroll Pane in GUI    coderanch.com

Hi, I am making a GUI which will allow a user to enter in values and have them displayed visually in a binary search tree. I think the code I am using to create the binary search tree should work, but am having trouble calling the class with the paint instructions to my GUI(scroll pane) as it immediately requires a value, ...