• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Problem in running swing application inside browser

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having a swing application which captures the electronic signature from the signature pad. When i am running this as a standalone application, it is working fine. But when i try to run this inside the browser it is not running, since i am using the third party jars to capture the signature i think it is not working. I am using the below code snipped to plugin the swing application inside browser.
Let me know how to refer the third party jar files here.....

<object
classid = "clsid:CAFEEFAC-0015-0000-0009-ABCDEFFEDCBA"
codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5_0_09-windows-i586.cab#Version=5,0,90,3";
WIDTH = "500" HEIGHT = "300">
<param name = "code" value = "com/acs/luc/signPad/HelloSwingApplet.class" >
<!-- the below jar not able to identify -->
<param name = "archive" value = "C:\SigPlus2_47.jar" >
<param name = "type" value = "application/x-java-applet;jpi-version=1.5.0_09">
<param name = "scriptable" value = "false">

</object>

regards
Sriram.
 
Sheriff
Posts: 21971
106
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably caused because applets are run in a sandbox environment. Moving to applets.
 
Master Rancher
Posts: 3841
35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There should be an error message in the browser's java console.
Copy and paste it here.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed, applets that interact with local hardware will need to be signed. See HowCanAnAppletReadFilesOnTheLocalFileSystem for more details.
 
bacon. tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic