amankk

Results 1 comments of amankk

Yes, by using Robot.. ================ @Test public void test() throws InterruptedException, AWTException { Robot robot = new Robot(); robot.keyPress(KeyEvent.VK_ALT); //holds down Alt key robot.keyPress(KeyEvent.VK_F4); //Press F4 robot.keyRelease(KeyEvent.VK_ALT); //release Alt key...