I have a JTree that looks something like this:
I want the user to be able to click on ANY child of B, (1,2,3), and ANY child of C, (1,2,3). I would like one menu to popup when I click a child of B and a different one to popup if a child of C.Code:A --B ----1 ----2 ----3 --C ----1 ----2 ----3
Any Ideas
Thanks![]()




Reply With Quote