This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Tim Moores wrote:Seems rather complicated. What does the applet accomplish that hitting the "Print Screen" button (and subseqeunt saving of the image) would not?
Regardless, if the applet is to access the local file system, then it needs to be signed.
Thanks for your reply Tim.
In order to access the local file system (for saving the screen-shot) we have modified the java.policy file with necessary permissions.
I just need to figure out how Java code can bring into focus an already running Microsoft application (MS Paint, MS Word, etc) on click of a button on HTML page.
Is it doable?
I am currently facing a requirement where an applet should open an image in mspaint, I am able to do it when I run it as a simple java application.But when I write an applet for the same, nothing seems to happen, I think it has something to do with permissions, how do we sign an applet? Please help.