question: private void showPopupMenu ( final MouseEvent event ) { final IconNode selectedNode = ( IconNode ) TreeHelpers . getNodeAt ( referencesTable , event . getX ( ) , event . getY ( ) ) ; if ( selectedNode != null ) { final JPopupMenu menu = createPopupMenu ( selectedNode ) ; if ( menu != null ) { menu . show ( referencesTable , event . getX ( ) , event . getY ( ) ) ; } } }
target:  Shows a popup menu that depends on the node that was clicked.