public static void keyPressWithAlt(int key) {
		robot.keyPress(KeyEvent.VK_ALT);
		robot.keyPress(key);
		robot.keyRelease(key);
		robot.keyRelease(KeyEvent.VK_ALT);
		delay();
	}
public static void keyPressWithAlt ( int key ) { robot . keyPress ( KeyEvent . VK_ALT ) ; robot . keyPress ( key ) ; robot . keyRelease ( key ) ; robot . keyRelease ( KeyEvent . VK_ALT ) ; delay ( ) ; }
alt+ 按键

@param key 按键