TreePath tph = super.getPathForLocation(pnt.x, pnt.y);
if (tph == null)
return;
GfrNodCtrAbs nod = (GfrNodCtrAbs) tph.getLastPathComponent();
// --- beg fixing up issue #339
DefaultTreeModel dtm = (DefaultTreeModel) super.getModel();
TreeNode[] nods = dtm.getPathToRoot(nod);
super.setSelectionPath(new TreePath(nods));
// --- end fixing up issue #339
GfrPmuCtlCtrAbs pop = nod.getPopup();
if (pop == null)
return;
pop.setHighlightedNode(nod);