• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to sign an applet

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 https://coderanch.com/how-to/java/HowCanAnAppletReadFilesOnTheLocalFileSystem
 
vaibhav kumbhar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 https://coderanch.com/how-to/java/HowCanAnAppletReadFilesOnTheLocalFileSystem



Thanks Maneesh, it's working.
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are welcome!
 
Ranch Hand
Posts: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
...and here is good tutorial about how to sign a Java applet correctly:

How to sign a Java applet
 
reply
    Bookmark Topic Watch Topic
  • New Topic