I have a requirement where, I have an HTML page with a submit button. On click of this button an applet should run and it has to take the screen-shot of a Microsoft Paint window or any other MS application window, and then save the screen-shot as .bmp in local file system.
Hard coding is allowed on the Button click. For eg. Open the MS-Paint window with Title = "xyz".