public static void rightClick() {
		robot.mousePress(InputEvent.BUTTON1_MASK);
		robot.mouseRelease(InputEvent.BUTTON1_MASK);
		delay();
	}
public static void rightClick ( ) { robot . mousePress ( InputEvent . BUTTON1_MASK ) ; robot . mouseRelease ( InputEvent . BUTTON1_MASK ) ; delay ( ) ; }
模拟右键单击<br>
鼠标单击包括鼠标右键的按下和释放

@since 4.5.7