I need to get the parent node when highlighting a child node:
So if I highlight node 2.2....
I can get that string by :
String node = jt.getSelectionPath().getLastPathComponent().toString();
But the question is... how do I get it's parent node as a String.... highlighting the child?
String parentNode = ?