Launching applet in html

Hallo,
I'm launching my applet vie jnlp-file. But I need to create code to dynamically generate page launching applet with parameters. My jnlp-file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp codebase="http://192.168.20.71/MyApplet" href="launch.jnlp" spec="1.0+">
<information>
<title>MyApplet</title>
<vendor>rafal</vendor>
<homepage href=""/>
<description>MyApplet</description>
<description kind="short">MyApplet</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se java-vm-args="-Djava.security.policy=applet.policy -Xms32m -Xmx500m" version="1.6+"/>
<jar eager="true" href="MyApplet.jar" main="true"/>
<jar href="lib/jai_codec.jar"/>
<jar href="lib/jai_core.jar"/>
<jar href="lib/mlibwrapper_jai.jar"/>
</resources>
<applet-desc height="768" main-class="MyAppletMain" name="MyApplet" width="1024">
<param name="DbUrl" value="http://192.168.20.71/MyApplet"/>
<param name="PictureURL" value="http://192.168.20.71/MyApplet/GetPicture"/>
<param name="Modalities" value="CT,MR,CR,SR,US,NM,XR,DX,XA,IO,DR,RF"/>
</applet-desc>
</jnlp>
I have an example that launches an applet with following script:
<script src="http://java.com/js/deployJava.js"></script>
<script>
var attributes = {
codebase: [applet codebase],
code: [class to launch],
archive: [JAR file with the applet],
width: [applet width],
height: [applet height]
var parameters = { [applet parameters] };
var version = [JDK version];
deployJava.runApplet(attributes, parameters, version);
</script>
How should I fill the attributes to be able to launch my applet? The format of parameters-attribute is for me unknown, how to pass more then one parameter?
The applet uses addidional jar-files, how to include these into this script? Is there another way to start applet?
with regards
Rafal Ziolkowski

rafzio1 wrote:
..What's wrong?1) First of all, put all this crap with JNLP files, the deployJava.js and JSPs aside for a while. (a)
2) Develop a plain old HTML file for the applet.
3) Configure the Java Control Panel to pop open the Java Console when it encounters an applet.
4) Ensure your code does not [swallow exceptions|http://pscode.org/javafaq.html#stacktrace] *(<- link)* at any point.
5) Try and load it in the HTML and [copy/paste the Java Console output|http://pscode.org/javafaq.html#exact] *(<- link).*
6) If you can make that HTML available for us to see, post the URL. If not, at least copy/paste the HTML, and please include it in code tags so it is easy to read.
a) OK - none of those are crap, but they are extra complications above and beyond what you need for some basic testing.

Similar Messages

  • Launch applet from html from ff/ie/chrome but breaks chrome when xhtml

    The following will work as an html file. However I place the body into a jsf xhtml file. Chrome complains: "TypeError: Object#<Document> has no method 'write' " The deployJava.js doesn't work in pc based safari in any case - but direct <applet> works for html file. Any idea how to resolve?
    Monty
    <!DOCTYPE html>
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <script src="http://www.java.com/js/deployJava.js"></script>
    <script type="text/javascript">
    try {
    // launch applet
    var attributes = { code:'aa.fx.applet.NewJApplet',  width:640, height:480} ;
    var parameters = {jnlp_href: 'newJnlpTemplate.jnlp'} ;
    deployJava.runApplet(attributes, parameters, '1.6');
    } catch(x) {
    alert(x);
    //]]>
    Edited by: 845430 on Mar 17, 2011 8:13 PM

    I'm guessing you'll get better answers on a Chrome forum, since Chrome seems to be the culprit.

  • Java 7: Problems launching applets with jars on "file://" location

    Hi,
    We are experiencing a problem when updating our client's JRE from Java6 U 21 up to Java7 U 55.
    We have developed an Applet which is composed by several JAR files. Some of those JARs must be stored in local drive, and the JAR with the main Java class is stored on server.
    Let's supose we have a similar scenario like this:
    https://blahblahbah/bar.jar
    https://blahblahbah/test.html
    C:/foo.jar
    The code of test.html:
    <embed
      archive="file:///C:/foo.jar"
      cache_archive="bar.jar"
    />
    This code works fine on Java 6 and Applet is correctly loaded.
    However, with Java 7 a security exception is raised when trying to load JAR files from "file:///" location during Applet launch:
    java.lang.SecurityException: Permission denied: file:/C:/foo.jar
        at sun.plugin2.applet.Applet2Manager._loadJarFiles(Unknown Source)
    We have tried several tests using a java.policy file which grants all possible permisions:
    grant codeBase "file:/C:/foo.jar" {
        permission java.security.AllPermission;
    grant {
      permission java.security.AllPermission;
    We also tried to low Java's security level to "MEDIUM", with no success.
    We finally only managed to run the Applet if we explicity disable the "Next-Generation Plugin" with Internet Explorer 8. However, that's not a suitable solution, and still does not work with Mozilla family browsers.
    Eventhought with Mozilla browsers is still not working.
    Is there any restrictions in Java 7 that prevents to read jars from being loaded from local drive when launching Applets?
    Thanks in advance,

    Thank you baftos.
    I had read the whole message before posting mine. It's not the same problem. I'm able to run the sample signed applet always having the jar in the same location than the HTML page serving the applet via JNLP:
    <jar href="SignedAppletTest.jar" main="true"/>
    However, the security exception raises when trying to read that jar from local drive:
    <jar href="file://C:/SignedAppletTest.jar" main="true"/>
    ExitException[ 3]java.lang.SecurityException: Permission denied: file://C:/SignedAppletTest.jar
        at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
    I have even tried to decompile JNLP2Manager class, without seeing anything useful on that loadJarFiles method
    The only way I managed to avoid the problem is unchecking the New Generation Plugin and running the Applet with IE. Not a suitable solution for me at all..

  • Error while calling applet in HTML in SAP NWDS

    Hi,
    We have written a java code with Main method and we are trying to run it on web. So we have written another piece of HTML code where we are calling the othe program with applet. But getting below error.
    Below is exce[ption I am getting while running jree charts made in java :
    Java Plug-in 1.6.0_24
    Using JRE version 1.6.0_24-b07 Java HotSpot(TM) Client VM
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.reflect.InvocationTargetException
    at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.runOnEDT(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.RuntimeException: java.lang.InstantiationException: org.jfree.chart.demo.BarChartDemo
    at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.InstantiationException: org.jfree.chart.demo.BarChartDemo
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    ... 15 more
    Exception: java.lang.reflect.InvocationTargetException
    Below is html code run to call applets :
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "" title="http://www.w3.org/TR/html4/loose.dtd">" class="link">http://www.w3.org/TR/html4/loose.dtd">
    (http://www.w3.org/TR/html4/loose.dtd)
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Hello</title>
    </head>
    <body>
    <applet code=org.jfree.chart.demo.BarChartDemo archive="src.jar" width="320" height="120"></applet>
    </body>
    </html>
    Please suggest.
    Regards
    Agamani

    Hi,
    Though there are a lot of importing parameters, you should give only one structure for outtable, and read as index 1 and index 2.
    FORM GET_SPRAS TABLES intable   STRUCTURE itcsy
                                              outtable  STRUCTURE itcsy.
      DATA: lv_kunnr LIKE kna1-kunnr.
      CLEAR: GV_SPRAS.
      lv_kunnr = intable-value.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = lv_kunnr
        IMPORTING
          output = lv_kunnr.
      SELECT SINGLE LAND1 SPRAS INTO (gv_land1, gv_spras) FROM KNA1
        WHERE KUNNR = lv_kunnr.
      IF sy-subrc = 0.
        READ TABLE outtable INDEX 1.
        outtable-value = gv_spras.
        MODIFY outtable INDEX 1.
        READ TABLE outtable INDEX 2.
        outtable-value = gv_land1.
        MODIFY outtable INDEX 2.
      ENDIF.
      IF gv_land1 EQ 'DE'.
        CLEAR: GV_LAND1,
               GV_SPRAS.
      ENDIF.
    ENDFORM.
    Edited by: Srinivas Kalluri on Mar 30, 2009 5:00 AM
    Edited by: Srinivas Kalluri on Mar 30, 2009 5:10 AM

  • Using a DLL or .so in a JNLP-launched applet

    I have a 3rd-party JAR which includes code that requires a DLL (or .so on Linux) to work and I need to use it in a JNLP-launched applet. What's required with Java 6 Update 16?
    1. I believe I need to get the DLL inside its own JAR and mark it as a native library in the JNLP. Is that just a matter of using the jar command to put it in the JAR?
    2. Must the applet then be signed?
    3. If yes to (2), will the end user still get some kind of security warning before running the applet?
    4. If yes to (3), will the warning only appear the first time the applet is run and not again after the JAR is cached?
    5. Do I need to manually "load" the DLL inside the applet's code? If not, how else does it know where to find the DLL (like -Djava.library.path in an application)?
    Thanks,
    The Gibbon

    I have a 3rd-party JAR which includes code that requires a DLL (or .so on Linux) to work and I need to use it in a JNLP-launched applet. What's required with Java 6 Update 16?Nothing different than other JRE's, what's the question?That was an introduction to my set of 5 specific questions.
    1. I believe I need to get the DLL inside its own JAR and mark it as a native library in the JNLP. Is that just a matter of using the jar command to put it in the JAR?Yes it is.Good.
    2. Must the applet then be signed?No, AFAIKWell see hear's the problem. The Google research I did before I asked the questions was confusing as some people said it needed to be signed and others didn't. My own tests have encountered security exceptions and I was trying to know if they were because the applet wasn't signed. The whole purpose of me starting this thread was to save me a lot of time messing around with these kind of problems not knowing if it's even supposed to work or not.
    See? It's all so amazing easy that making a simple test would have taken less time than this whole thread.
    This is why we talked about spoonfeeding.I don't see that it's amazingly easy when you disagree with the majority of the posts and information I read which were in themselves contradictory. It's obviously not a clear cut subject and everyone has a different opinion. I was hoping someone who had tried what I am wanting to do could just tell me definitively if it was ever going to work.
    What's even more amazing is that you didn't add any duke!I have to say I don't know anything about adding dukes, that's why I didn't do it.
    Real thrill is you're probably gonna meet some real problem depending on your actual needs! LOL!
    BTW: most of us has good knowledge of JWS but isn't such an applet expert (which, maybe, you are), so, in your case expecially, coming here with a realWorldJavaWebStartFailure would have been for sure the best approach, that's all you should really understand, IMVOHO.I realise that JWS is not often used to launch true applets but still I hope someone here would have done it and been able to share their experience.

  • Launching applet

    please ignore the previous posting. I have an HTML form that has a textarea. I would like to send the contents in a text area to a signed applet.
    In the first HTML form gets the contents of the text area and calls another html form, The second HTML page(cryptojni.html) calls the signed applet. But wheni try to display the text in the signed applet i get a error " java.awt.TextField[textfield0,0,0,0x0,invalid,text=,editable,selection=0-0]" The HTML page is able to pop up the signed applet but there is nothing in the "text" string!!
    <html>
    <SCRIPT>function toApplet() {
    var f = document.forms[0];
    var a = document.applets[0];
    a.setFieldText(f.inputarea.value);
    return false;
    </SCRIPT>
    <body>
    <form name="input" action="cryptoJNI.html" method="post">
    <TEXTAREA NAME="inputarea" ROWS="30", COLS="60"></TEXTAREA>
    <BR>
    <INPUT TYPE=SUBMIT NAME='click' ONCLICK="return toApplet();"></FORM>
    </form>
    </body>
    </html>
    CRYPTOJNI.html
    <html>
    <title> CRYPTO JNI</title>
    <h1> Calling the keystore </h1>
    <hr>
    <APPLET CODE = Testapp.class archive="scryptoJNI.jar" WIDTH=500 HEIGHT=500>
    </APPLET>
    <hr>
    </html>
    Testapp.java
    public class Testapp extends Applet {
    private TextField field;
    public void init(){
    field=new TextField(100);
    add(field);
    System.out.println(field);
    public void setFieldText(String text) {
    field.setText(text);

    Hi,
    If I am not mistaken you need to do getContentPane().add(...) only when you are using Swing applet.
    Well, here what I see as the potential problem is, the fact that when you are submitting the first HTML and calling the next one, nowhere you are collecting the value of Textarea and setting it into the applet of next HTML page. And even you cant do that with plain HTML.
    If you want your application to share data among requests you need to use some technology like CGI, JSP, ASP, PHP etc.......
    Bakul.

  • I can receive email, but can't reply or compose email. Won't accept applet or HTML. ISP Cox says it's a Safari problem. My software is all up to date.

    I can receive email, but can't reply or compose email. Won't accept applet or HTML. ISP Cox says it's a Safari problem. My software is all up to date.

    Which email client is this?
    In Safari / Preferences - Security. Make sure Java is enabled.

  • Problems with running Applet through HTML

    I am currently having problems with running my file through the HTML. For some reason when I open it in the browser it keeps saying Error. I am programming in NetBeans.
    The code I am using is:
    <html>
    <head>
    <title></title>
    </head>
    <body>
    <applet code=”CarApplet.class” codebase="RedCarApplet.jar" width=690 height=300></applet>
    </body>
    </html>

    Heres the error message, I see that it cannot find the class I have stated above. Any solutions?
    My class is in the 'build' folder but, the HTML file is in the 'src' folder. Now my applet contains a 'jar' file, do I need to add that to the HTML code?
    load: class ‚Ä?TunerApplet.class‚Ä? not found.
    java.lang.ClassNotFoundException: ‚Ä?TunerApplet.class‚Ä?
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: C:\Users\*****\*******\NetBeansProjects\RadioApplet\src\‚Ä?TunerApplet\class‚Ä?.class (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 9 more
    Exception: java.lang.ClassNotFoundException: ”TunerApplet.class”

  • Applet to HTML

    Hai All
    There is an small issue. There is an JApplet which has a JButton, and the appletd is invoked in HTML file. On the Click of the button in the applet another HTML file need to be invoked which is again an Applet.
    How can i achieve the same
    thanks in advance

    Javascript to Applet communication is one solution to your query.
    http://java.sun.com/products/plugin/1.3/docs/jsobject.html

  • Running the Swing based applet in html

    Hi
    I am getting problem while runing a swing based applet in html. If i am using eclips and run my file as java applet it is working fine.
    For testing purpose, my html and all jars are in the same folder where my applet class is reside.
    Also i am not getting any error in html..
    Please help

    http://java.sun.com/docs/books/tutorial/deployment/applet/index.html

  • Applet blinks  when  launched  in a html page with black background

    Dear sirs:
    I 'm testing a game applet and preparing for deployment. However, whenever i reload the html page containg the applet, the applet will first appear as a white block and then switch to black-background( i set black as bg in first sentence at applet's init() ) .
    It's really annoying as the bgcolor of html is black. I try to set the applet and div's visibility be hidden, but the problems remains. And i try to add a black div covering on the applet( with z-index = 200) , it still blinks.
    Does anyone know how to startup the applet with background other than white?
    I use windows, and jre1.6.0.1 plugin.
    i Searched in google with no result.
    Thanks a lot.

    an initial fade in/out is added after init() function to reduce the flicking.
    some javascript tricks are used to reduce the white flashing after reloading. now it's much better and acceptable.
    However, i still want to know does anyone have some better tricks?
    There's a bug report in 2002 which is shown as "fixed", "closed". i think it's the same problem( in fact not fixed).
    The applet does not start up with the background color set in init() function. It first appears as a white block for 0.2-0.3 second, then switches to the user defined bgcolor . really annoying.

  • How can I display some OrdImages using a Applet in html or Jsp?

    hi
    I want to use a applet to display some images retrieved from intermedia OrdImage Object.
    Now ,I know that a applet can display some image objects or some images with their own filepaths. But we can get ordimag objects from Oracle database.And we can image data or image properties by ordimage java mathod. It is in html/Jsp environment. So how can I transform from ordimage to applet?? I appreciate someone who can help me!
    Bill

    Do you mean applet or Servlet?
    An Applet is java code that is downloaded over the web and runs in a web browser environment. Is this what you are doing?
    I suspect you are really talking about servlet/JSP environments, and the ability to include images from the database in a web page.
    In either case (applet or servlet), you want to be able to access images via a URL. For a Servlet/JSP/web page, this URL will be specified in a HTML <IMG> tag with a key as a parameter to the image you wish to view. Images are not in-line downloaded in a web page. They are access after the HTML is loaded, and are accessed with URLs, sometimes relative URLs rather than fully specified URLs.
    To deliver images to the web from the database using the PL/SQL gateway and iAS, where the procedures are generated by a wizard, see:
    http://otn.oracle.com/software/products/intermedia/htdocs/descriptions/imedia_code_wizard.html
    You can create a simple servlet (JSPs can not deliver binary data) that delivers database images using java classes. See:
    http://otn.oracle.com/software/products/intermedia/htdocs/descriptions/servlets_jsp.html
    http://otn.oracle.com/sample_code/products/intermedia/htdocs/intermedia_servlet_jsp_samples/imedia_servlet_jsp_readme.htm
    for a sample.

  • Is there a way to remove "Applet running..." when launching Applet in JWS?

    Is there any way to remove the "Applet running..." message at the bottom of the applet when launch in JWS? I have searched in the forum and bug database and cannot find a reference in how to remove it.
    I remember in the old applet days (JDK 1.1, 1.2?), everybody are mad at the yellow warning message when launching a new frame from an applet window. It is hard to believe this issue reappears in JDK 1.4.
    FYI, all the jar files are signed. And I am using JDK 1.4.1.
    Thanks,
    Nelson Fong

    Dietz,
    Thanks for your response. Unfortunately, our application requested all-permission in the jnlp file, and all jar files are signed as well.
    In fact, the warning is more like a status bar. The message was changed from "Initializing Applet..." to "Applet running...." during init() method.
    Any help would be appreciated. Thanks

  • How to embed applet in html?

    how do you embed an applet (made using the GUI builder/drag and drop builder) of netbeans correctly?
    I tried it manually but it doesn't work (put the filename.class with the html file and embed it to the html code) but it says that applet failed.
    I also tried running the one netbeans automatically created located at \build folder of the project folder, but it also says applet failed.
    Can someone tell what seems to be the problem? or are there any suggestions or better way to embed an applet to a html file?

    Answers to "How to do something in NetBeans" (or any other IDE) are only going to be available at the IDE site. See here:
    http://www.netbeans.org/kb/50/tutorial-applets.html
    These forums are for Java language topics, not IDE support.

  • Signed applet and HTML parameters

    I've created a signed applet and everything works fine, except for the fact that i can't add parameters to the applet.
    Without the parameters in the HTML the applet inits and starts and can be used without problems. But when I add paramaters, the applet reports a "class not found exception".
    I used HTML-converter to convert the applet tag to object/embed tags.
    Has anyone had the same problem or knows what I'm doing wrong? I'd really appreciate some help.
    Thanks in advance,
    Erik
    My HTML source:
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = "600" HEIGHT = "400" codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    <PARAM NAME = CODE VALUE = "TNA" >
    <PARAM NAME = ARCHIVE VALUE = "TNA.jar" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3.0">
    <PARAM NAME="scriptable" VALUE="false">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.3.0" CODE = "TNA" ARCHIVE = "tna.jar" WIDTH = "600" HEIGHT = "400" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED></COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!--
    <APPLET CODE = "TNA" ARCHIVE = "tna.jar" WIDTH = "600" HEIGHT = "400">
    </APPLET>
    -->

    Try this:
    OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = "600" HEIGHT = "400" codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    <PARAM NAME = "java_code" VALUE = "TNA.class" >
    <PARAM NAME = "java_archive" VALUE = "TNA.jar" >
    <PARAM NAME = "java_type" VALUE="application/x-java-applet;version=1.3.1">
    <PARAM NAME="scriptable" VALUE="false">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.3.0" CODE = "TNA" ARCHIVE = "tna.jar" WIDTH = "600" HEIGHT = "400" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED></COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!--
    <APPLET CODE = "TNA" ARCHIVE = "tna.jar" WIDTH = "600" HEIGHT = "400">
    </APPLET>

Maybe you are looking for