Jay
Jay

Reputation: 1265

How to check which JTree is selected in mouse clicked event?

I'm making app. in Netbeans in Java. In my class I have 3 JTree instances. I want to check which tree's node is clicked or selected on mouse clicked event of tree. How can I do that?

Upvotes: 1

Views: 448

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168825

See:

Upvotes: 3

Related Questions