if (SwingUtilities.isRightMouseButton(event))
if (event.isPopupTrigger ())
         public void mouseReleased (MouseEvent event) {            if (SwingUtilities.isRightMouseButton(event))               showPopupMenu(event);         }