Can I press combination of keys in java like alt+F4 or alt+Shift+Z! I have tried my best to do this and follow to many instruction but in vain please help me!
I am follow This Link
Can I press combination of keys in java like alt+F4 or alt+Shift+Z! I have tried my best to do this and follow to many instruction but in vain please help me!
I am follow This Link
Yes, you can use the Robot class
You can make a keypress easily:
Robot robot = new Robot();
robot.keyPress(/*keycode*/);//keycode that you want