Jump to content

sportflyer

Members
  • Posts

    3
  • Joined

  • Last visited

sportflyer's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I have successfully implemented an applet to launch a Family tree application using the following code in my webpage: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <body> <applet code="com/starkeffect/applications/gedcomviewer/GedcomViewerApplet.class" width=150 height=30 archive="gv.jar,resource.jar"> <PARAM NAME=GEDCOM VALUE="demo.ged"> <PARAM NAME=BUTTON VALUE="Open Viewer"> <!-- Alternate text to be displayed if Java cannot be run. --> NO JAVA! </applet> </body></html> However I understand that this code may not be suitable for all Browsers. I tried to use the Java Deployment Toolkit :but the applet wont load. Maybe I got the syntax all wrong. This is the code I used: <p>Click Button to View Family Tree </p><script src="http://www.java.com/js/deployJava.js"></script><script>var attributes = {code:'com/starkeffect/applications/gedcomviewer/GedcomViewerApplet.class',archive:'gv.jar',width:150, height:30} ;var parameters = {GEDCOM:cheefam2.ged} ;var parameters = {BUTTON: Launch Tree} ;var version = '1.6'<!--deployJava.setInstallerType('kernel');// include any required packages as shown belowdeployJava.setAdditionalPackages('javax.swing, javax.xml');-->deployJava.runApplet(attributes, parameters,version);</script> The .ged file , GV.jar and the html page are all in the same folder.so I did not use Codebase : etc etc Please let me know what I did wrong.Thanks
  2. So what is replacing the outdated applet ?
  3. I am new to this forum so I am not sure whether this is the right place to find help .Please Let me know if another forum is more appropriate: I have added an Applet to one of my webpages to launch an Application that shows a searcheable Family Tree. It is working well with Firefox, IE, and Chrome. I have no way to know whether it will work with other browsers like Safari I understand that to make this applet more universal I need to use Java Deployment Tool Kit. I have read the documents but I still don't understand how to use it since I am not a programmer nor familiar with JAVA. Can someone help me out? I can provide the Applet code that I used in my webpage. Thanks
×
×
  • Create New...