• 0

[Java] Different POPUP menu for items in a jtree


Question

I know how to add popup menu in java to a JTree but I don't know how to specify different types of popup menus for different parts of the tree. I can only add actionlistener to the tree but not to the nodes. Does anyone know how i can do this.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.