question: public static boolean isRightMouseButton ( MouseEvent anEvent ) { return ( anEvent . getModifiersEx ( ) & InputEvent . BUTTON3_DOWN_MASK ) > 0 ; }
target:  Replaces SwingUtilities#isRightMouseButton() due to the fact that BUTTON3_MASK == Event.META_MASK