Applying Your License Key

Your ChemWriter License Key can be applied by passing it as an applet initialization parameter. The preferred method uses the JavaScript library Applet-Fu:

<html>
  <head>
    <script type="text/javascript" src="easyapplet.js"></script>
  </head>
  <body>
    <script type='text/javascript'>
      applet_fu.run(
        {'width':'550','height':'320'},
        {
          'archive':'chemwriter.jar',
          'code':'com/metamolecular/chemwriter/applet/EditorApplet.class',
          'licenseKey':'D7D4-1D2B-B43C-078F-ACF9-F1F6'
        },
        '1.4.2',''
      );
    </script>
  </body>
</html>

Alternatively, XHTML tags can be used:

<!--[if IE]><object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0"
width="550" height="320"><script>/*<![endif]--><script type="text/javascript">/**/</script>
<!--[if !IE]><!-->
<object type="application/x-java-applet;version=1.4.2" width="550" height="320">
<!--<![endif]-->
  <param name="code" value="com/metamolecular/chemwriter/applet/EditorApplet.class">
  <param name="archive" value="chemwriter.jar">
  <param name="licenseKey" value="D7D4-1D2B-B43C-078F-ACF9-F1F6">
</object>