Program to Handle Events Using Robot class.

 

1. Handle Mouse Buttons Using Robot class.

 

 

2. Program to Scroll Mouse Using Robot class.

 

 

3. Take ScreenShot Using Robot class.