title: deployJava.runApplet is not working
body: <p>Am using <strong>applet</strong> inside my "<strong>Extjs UI framework</strong>". If i called below "<strong>applet.js</strong>" file using "<strong>index.html</strong>", its working fine. </p>
  
  <p>But, If i called inside any script, other than "<strong>.html file</strong>", then its not working. Just page data cleared and looks <strong>full empty page</strong>. Could you please advise me how to solve this issue.</p>
  
  <p>I need to call my "applet.js" script though other ".js file", <strong>not through ".html file"</strong>. Is it possible? Kindly explain with examples. </p>
  
  <p><strong>applet.js:-
  ----------</strong></p>
  
  <pre><code>var attributes = {
      tag: 'applet',
      code: 'com.src.test.Applet',
      archive: 'Test.jar',
      width: 1,
      height: 1,
      id: 'test',
      mayscript: true
  },
  parameters = {
      jnlp_href: 'test.jnlp'
  };
  
  deployJava.runApplet(attributes, parameters, '1.7');
  </code></pre>
  
  <p><strong>html:-
  -----</strong></p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;script type="text/javascript" src="applet.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  
  **Sample code for Calling through other js file:-
  -----------------------------------------------**    
  
      Ext.namespace('Test');
  
      launch: function () {
          this.test();
      },
  
      test: function () {
          var attributes = {
          tag: 'applet',
          code: 'com.src.test.Applet',
          archive: 'Test.jar',
          width: 1,
          height: 1,
          id: 'test',
          mayscript: true
     },
  
     parameters = {
        jnlp_href: 'test.jnlp'
     };
  
     deployJava.runApplet(attributes, parameters, '1.7');
     }
  </code></pre>
  
  <p>Thanks for looking into this....
  Maria</p>