I am trying to do JTree expand & collapse one level at a time whenever user presses Expand & collapse button.
few questins ?
there are so many implementations if found for above way using getRowcount, getRootToPaht(rootNode) and expand recursively etc
while expand is working , collapse wont work if both are implemented using same logic
Also, JTree.getRowCount() API returns no. of rows ? I dont understand this JTree is stored as row & columns in array and does some body can explain this that will be great ?