public void mouseClicked(MouseEvent event){
  if (tryPopup(event))   return;
  if (SwingUtilities.isRightMouseButton(event)) {
    cm.handleRightMouseClick(event);
  }
 else   if (event.getClickCount() >= 2) {
    cm.handleMouseDoubleClick(event);
  }
 else {
    cm.handleMouseClick(event);
  }
}

public void mouseClicked ( MouseEvent event ) { if ( tryPopup ( event ) ) return ; if ( SwingUtilities . isRightMouseButton ( event ) ) { cm . handleRightMouseClick ( event ) ; } else if ( event . getClickCount ( ) >= 2 ) { cm . handleMouseDoubleClick ( event ) ; } else { cm . handleMouseClick ( event ) ; } }
invoked when the mouse has been clicked on a component .
