boolean right = ( mouseEvent.getModifiers() & InputEvent .BUTTON3_MASK ) == InputEvent.BUTTON3_MASK;