This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
tree.getLastSelectedPathComponent() is seleted node but somehow this is giving null value and i checked tree.getMaxRowCount is 1 meaning i have only two levels in Tree. Root node and rest of them are childrens
Does anybody throw somelight on this ?
Root |--child1 |-- child2 |-- child3
etc above is my tree structure. i know the logic for deleting of tree node based on selected node
Can you send me the code snippet. I may be able to help. Could you also elaborate as to what are you trying to do? JTree tree = new JTree(); would create only a sample tree and not the kind you require, hope you are not doing something wrong there [ March 08, 2006: Message edited by: Sam Codean ]