public static boolean isLeftMouseButton(MouseEvent anEvent){
  return (anEvent.getModifiersEx() & InputEvent.BUTTON1_DOWN_MASK) > 0;
}

public static boolean isLeftMouseButton ( MouseEvent anEvent ) { return ( anEvent . getModifiersEx ( ) & InputEvent . BUTTON1_DOWN_MASK ) > 0 ; }
replaces swingutilities # isleftmousebutton ( ) for consistency with other button - related methods
