java - Issue with JPopupMenu in a JTree -
I have this problem. In a custom JTree I used a JPP menu to display a different JNNEWITUM according to the selected node using a mouseover. Done The JPP menu is displayed when the mouse right button is clicked. The problem is that if I do not select an item from the popup menu, but instead I select the second node in the tree, either with the right or left button, this event is never caught by the tree MouseListener Can anyone point me in the right direction to solve it? If an example is available, then I would appreciate it.
Comments
Post a Comment