jQuery in Action, 2nd edition*
The moose likes Applets and the fly likes How to sign an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "How to sign an applet" Watch "How to sign an applet" New topic
Author

How to sign an applet

vaibhav kumbhar
Greenhorn

Joined: Mar 22, 2012
Posts: 4
Rajnikant Katre wrote:
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?


Hi Rajnikant,

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.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10425
    
    8

Welcome to the Ranch.
I have split your post into a new topic. Please do not ask question's in someone else's topic. Please UseOneThreadPerQuestion
Check out the FAQ for signing applets http://www.coderanch.com/how-to/java/HowCanAnAppletReadFilesOnTheLocalFileSystem


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
vaibhav kumbhar
Greenhorn

Joined: Mar 22, 2012
Posts: 4
Maneesh Godbole wrote:Welcome to the Ranch.
I have split your post into a new topic. Please do not ask question's in someone else's topic. Please UseOneThreadPerQuestion
Check out the FAQ for signing applets http://www.coderanch.com/how-to/java/HowCanAnAppletReadFilesOnTheLocalFileSystem


Thanks Maneesh, it's working.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10425
    
    8

You are welcome!
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 498

...and here is good tutorial about how to sign a Java applet correctly:

How to sign a Java applet


PM Me If You Want to get Urgent Help on Java Programming
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to sign an applet