How to embed an Applet into html

Hi, I've an applet called IDrive written in Eclispe which works perfect there, I've been trying to paste the IDrive class file into my html folder and embed my applet by trying e.g.
<applet code="../css/IDrive.class" width="300" Height="400">
</applet>css is a folder outside the folder which contains the html file in which im trying to embed my Applet
but no matter what I do i keep getting class not found error's, and as im totally new to applets I hope someone could please help me....
Thanks

I suggest you look at the applets under the demo directory and how they are done.
Here are also some tutorials.
[http://www.google.co.uk/search?q=applet+html+tutorial]

Similar Messages

  • How to embed jnlp file into html page using object tag

    hi everyone,
    i have written one jnlp file like this.
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- JNLP file for Demo applicaion -->
    <jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
         <information>
              <title>Demo Application</title>
              <vendor> </vendor>
              <description>Sample Demo Application</description>
              <offline-allowed/>
         </information>
         <security/>
         <resources>
              <j2se version="1.3+" />
              <jar href="common.jar" main="true" download="eager" />
              <jar href="classes12.jar" download="eager" />
              <jar href="toplink.jar" download="eager"/>
              <package name="com.applet.*" part="applet" recursive="true"/>
         </resources>
         <applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
    </jnlp>
    i am trying embed that jnlp file using object tag like
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">     
    <PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
    </OBJECT>
    but i am not able to load the applet using Web Start.
    Can anyone please help me. This is very Urgent for me.
    Thanks & Regards,
    Shiva.

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • How to embed Flash Player into HTML page

    Hello,
    I have a question for some gurus who know very well the
    Javascript.
    Namelly what i want is to add <object> tag to the
    current html page programatically with using JAVA SCRIPT.
    As IE is more forgiving it displays the object properly but,
    in Firefox it behaves a bit different. Actually it doesn't appear
    at all in Mozilla browser. Any good sample would be great help.
    I was wondering what i am doing wrong?
    Thanks :)

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • Embed an applet into jpanel

    I have a unique problem. I have an application built on swing f/w with xml used for design and maven used for build.
    I have an applet that is independent of this application. Now i dont have a clue how to embed that applet into a jpanel or into that application. Anything of that will help me immensely. Please suggest if anybody has a clue.
    Thanks in advance.
    Regards,
    Ashish

    >
    I have a unique problem. >Big claim since..
    >
    ..I have an application built on swing f/w with xml used for design and maven used for build.
    I have an applet that is independent of this application. Now i dont have a clue how to embed that applet into a jpanel or into that application. >..the AppletViewer has been Swing based since around 1.3 or before. ;-)
    In any case, if you control the source of the applet, or can recreate it, the best solution has already been given on the first reply.
    If not, and it actually makes sense to embed an Applet or JApplet in a Swing JPanel(/JFrame), then it becomes more complicated.
    Here is one of the most simplistic [examples of embedding an applet in a JFrame|http://forums.sun.com/thread.jspa?messageID=10259860#10259860]. If it becomes necessary to pass parameters to the applet, allow it to share input streams, or implment the showStatus() showDocument() methods as I did in Appleteer, it becomes more complex again. So far I have found no practical way to mimic Applet/JavaScript interaction.
    Edit 1:
    And noting you are yet another multi-poster. No that is not unique, just very irritating, and a great disincentive for others to help.
    Edited by: AndrewThompson64 on Jul 1, 2009 1:40 AM

  • CP8 - How to embed a pdf into a captivate slide (for LMS publication)?

    Hi,
    How to embed a pdf into a captivate slide (for LMS publication)?
    WebObject doesn't work...
    Thanks

    I accomplished this by publishing my PDF to a directory I called "PDFWebObjectEmbedFiles" on my webserver outside of where my published project lives.
    For example...the PDF to embed lived at:
    http://mydomain.com/PDFWebObjectEmbedFiles/file_name_of_PDF_to_embed.pdf
    Then I went inside of Captivate and inserted the Web Object widget.  I put the URL to my PDF inside the widget.  Then it loads perfectly with no problem.
    Hope this helps.

  • How to convert table content into html format?

    Hi,
    Experts,
    How to convert internal data into HTML format is there any function module or piece of code to download content into HTML.
    Thank u,
    Shabeer Ahmed.

    Then use this code....
    REPORT  ytest_table_html1.
    *        D A T A   D E C L A R A T I O N
    *-HTML Table
    DATA:
      t_html TYPE STANDARD TABLE OF w3html WITH HEADER LINE,
                                           " Html Table
    *- Declare Internal table and Fieldcatalog
      it_flight TYPE STANDARD TABLE OF sflight WITH HEADER LINE,
                                           " Flights Details
      it_fcat TYPE lvc_t_fcat WITH HEADER LINE.
                                           " Fieldcatalog
    *-Variables
    DATA:
      v_lines TYPE i,
      v_field(40).
    *-Fieldsymbols
    FIELD-SYMBOLS: <fs> TYPE ANY.
    *        S T A R T - O F - S E L E C T I O N
    START-OF-SELECTION.
      SELECT *
        FROM sflight
        INTO TABLE it_flight
        UP TO 20 ROWS.
    *        E N D - O F - S E L E C T I O N
    END-OF-SELECTION.
    *-Fill the Column headings and Properties
    * Field catalog is used to populate the Headings and Values of
    * The table cells dynamically
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = 'SFLIGHT'
        CHANGING
          ct_fieldcat            = it_fcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2.
      DELETE it_fcat WHERE fieldname = 'MANDT'.
      t_html-line = '<html>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<thead>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<tr>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<td><h1>Flights Details</h1></td>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '</tr>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '</thead>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<table border = "1">'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<tr>'.
      APPEND t_html.
      CLEAR t_html.
    *-Populate HTML columns from Filedcatalog
      LOOP AT it_fcat.
        CONCATENATE '<th bgcolor = "green" fgcolor = "black">'
            it_fcat-scrtext_l
            '</th>' INTO t_html-line.
        APPEND t_html.
        CLEAR t_html.
      ENDLOOP.
      t_html-line = '</tr>'.
      APPEND t_html.
      CLEAR t_html.
      DESCRIBE TABLE it_fcat LINES v_lines.
    *-Populate HTML table from Internal table data
      LOOP AT it_flight.
        t_html-line = '<tr>'.
        APPEND t_html.
        CLEAR t_html.
    *-Populate entire row of HTML table Dynamically
    *-With the Help of Fieldcatalog.
        DO v_lines TIMES.
          READ TABLE it_fcat INDEX sy-index.
          CONCATENATE 'IT_FLIGHT-' it_fcat-fieldname INTO v_field.
          ASSIGN (v_field) TO <fs>.
          t_html-line = '<td>'.
          APPEND t_html.
          CLEAR t_html.
          t_html-line = <fs>.
          APPEND t_html.
          CLEAR t_html.
          t_html-line = '</td>'.
          APPEND t_html.
          CLEAR t_html.
          CLEAR v_field.
          UNASSIGN <fs>.
        ENDDO.
        t_html-line = '</tr>'.
        APPEND t_html.
        CLEAR t_html.
      ENDLOOP.
      t_html-line = '</table>'.
      APPEND t_html.
      CLEAR t_html.
    *-Download  the HTML into frontend
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'C:\Flights.htm'
        TABLES
          data_tab                = t_html
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *-Display the HTML file
      CALL METHOD cl_gui_frontend_services=>execute
        EXPORTING
          document               = 'C:\Flights.htm'
          operation              = 'OPEN'
        EXCEPTIONS
          cntl_error             = 1
          error_no_gui           = 2
          bad_parameter          = 3
          file_not_found         = 4
          path_not_found         = 5
          file_extension_unknown = 6
          error_execute_failed   = 7
          synchronous_failed     = 8
          not_supported_by_gui   = 9
          OTHERS                 = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    none of the above function modules r obsolete...

  • How to embed a smartform into a component?

    Hi All,
    i would like to embed a smartform into the component to display the relevant information of complaint in WEB UI.
    In complaints when i clicked on complaint ID it is not not displaying any details? So i would like to add a smart form to the component to display all the details. Please help me how to add the smartform into the component?
    Thanks
    Maheedhar

    Hi pavan,
    I did not try this but I think you can call the smatforms function module and get the form in html from parameter JOB_OUTPUT_INFO-XMLOUTPUT-TRFRESULT.
    Put this into WD component using respective method. Compare Thread: [Add html code in web dynpro application|Add html code in web dynpro application]
    Regards,
    Clemens

  • You can't embed QT movies into HTML!!!!

    I've been trying for 3 days now to embed a QT movie into an
    html doc and have had no luck.
    All I'm trying to do is embed a simple QT movie in an html
    document and
    then be able to load another movie by clicking a text link.
    I've looked at every Javascript document from here to the Gama
    quadrant and I can't get it to work with IE.
    If you can tell me how to embed a QT movie into a html doc
    and then be able to load a new movie into the same with with a text
    link, I'll give you 1,000,000,000,000 Plutonian Marks.

    gold987987987 wrote:
    > First of all, thank you all for your suggestions. It's
    always nice to hear
    > different approaches to solving problems.
    > It's my fault for not being more specific with
    explaining my clients request.
    > They wanted single page deployment in H.264 with a video
    list controlled by
    > simple text buttons.
    > Zip files and multiple pages were out of the question,
    not to mention other
    > video formats.
    > In the end, I had to convince them to use this inferior
    format because IE
    > cannot take commands from Javascript to control QT
    movies.
    >
    > Big clients demand exact things, and I had oblige.
    > So, I'm sorry everyone, I didn't mean to ignore your
    suggestions, I just
    > couldn't use any of them because it's not what my client
    wanted.
    Why don't you post the offending code that doesn't work,
    along with a
    test page with the code that doesn't work, to see if it can
    be solved?
    Without a link or the code, no one will be able to help.
    Steve

  • How to embed swing component into javaFX ?

    Maybe I missed sth, but can someone explain us how can we embed swing component into javaFX 2.0 ?
    This was previously handled with javaFX "srcipt", why can't we do it anymore ?
    As far as the work to migrate from 1.3 to 2.0 is hard and huge, why do fx2.0 do not offer such feature anymore ? :(
    I know that ThingFx project try to cope with, but the current code doesn't match with my needs.
    Thanks for help,
    Edited by: tibO on 23 nov. 2011 14:35

    I know this post is old and the original authors might not even ben active; but it essentiall gets to the heart of what I'm trying to.
    I have a JDialogBox. In it I have a panel (which I have to change to a JScrollPane). Inside the JPanel I have a JLabel and a JTextArea.
    I was told to; make it scrollable in the event that there is too much info for the JDialogBox and to add HTML formatting (simple stuff like bold and colors.
    1) The JScrollBar doesn't seem to produce the scroll side bars.
    2) I must not be implementing the JEditorPane correctly. I just substituted JEditorPane for JTextArea in my code and it returned a type converstion error. Is JEditorPane even the correct object to use? Should I be using JTextPane?
    The reason I can't do this on a JLabel by JLabel basis is because I don't know how many labels I will need at each runtime. And I also have to have a swingtimer on it. I could create an array and loop around it to create the JLabels. But it seems a waste of commuting cycles. This is no good?

  • How to export spool file into HTML file

    Hi,
    I have one Oracle procedure which meets our business requirement. I am keeping the output data into a log file and I am sharing that log file to the users.
    Sample Code:
    spool path\logile.log
    declare
    begin
    dbms_output.Put_line('output will come here');
    end;
    Now I want to spool the same output data into a HTML file and need to share with the users.
    Can any one please guide me, how to export our spool data into HTML format?
    Thanks in advance.

    Hello 909127,
    welcome to the forum.
    This is the forum for the tool Oracle Reports, not a general forum for reporting. Your question might be better posted in {forum:id=75} or {forum:id=144}.
    Nevertheless you need to give us more information, how your output looks like now and what you expect in HTML.
    Regards
    Marcus

  • How to embed a screenshot into a topic post/topic reply.

    Hi all,
    I wasn't sure which forum to post my question in, so since all my Discussions stuff opens in a browser window, I thought it might as well be in the Safari forum.
    My query is two-fold:
    1. How do I embed a screenshot into a reply so that the screenshot shows up in the same way as the screenshot itself, and not as a reference to myself e.g. if I drag the pic from my desktop, it shows up as "Users/My name/Desktop/Picture1.png" which I don't want on screen.
    2 the forums toolbar doesn't contain any formatting tools so that the above query can be effected. All I see are icons for 'Bold', Italics', 'Underline' and 'Spell checker'. There is, of course, the 'Preview tab', but I doubt that this will affect how I view the way my messages will appear to the viewer.
    Any assistance would be greatly appreciated.
    Message was edited by: sapper

    Hi
    I use Image Shack:
    Register here.
    Next, download their OS X Uploader.
    I choose "classic view" to see my library of images. After uploading an image via the Uploader, a tab opens to your Library page. The code for your post is the second one listed - Embeddable Code - Sites. Looks like this:

  • How to embed java application into flash player

    By using SWT flash, I able to embed flash player into java
    UI. But then now I want to embed the java application in flash
    player... Do it possible ?? or any export can help me or advice me
    on this? Thanks
    Regards,
    Sosseres

    Hi,
    In this case, you need to setup Single Sign-On (SSO) between your SAP Portal and Websphere.
    Please refer to the following URL:
    IBM WebSphere
    Here, you will find all the guides that explain how this SSO can be established. Under the General Section, you will find documentation that describe the SSO cases. Under the section of interoperability, you can find the guides like "How to Set Up SSO Between SAP NetWeaver Portal and IBM WebSphere Portal Using TAI".
    Use these guides to setup SSO.
    Regards,
    Shitij

  • How to convert xml data into html format in bpel

    Hi ,
    Can any one tel me how to conevrt xml into html in oracle bpel.
    Does bpel support this functionality or not.
    Regards,
    Ana
    Edited by: user10181991 on Apr 5, 2009 11:16 PM

    Ana,
    We are doing the same thing--using one variable with the schema as the source of the .xsl and assigning the resulting html to another variable--the content body of the email, in our case. I just posted how we did it here: Re: Using XSLT to generate the email HTML body
    Let me know if this helps.

  • How to embed 3d pdf into 2d pdf?

    I created a 3d pdf (outside of Acrobat) and would like to embed this file into a 2d pdf using Acrobat X. When I add Multimedia > 3D object and try to insert the 3d pdf file, Acrobat says that the file is not a supported file type. Is there a way to embed this directly (so the model can be seen when the 2d pdf is opened), rather than as an attached file or link? I would like to avoid using an U3D file, as the file became very large and responds slowly to commands.

    All you need is Acrobat.
    If you want to copy the entire page from the 3D PDF to the 2D PDF, open the page thumbnails sidebar in the 2D PDF, and from the options dropdown menu choose Insert Pages > From File. Pick your 3D PDF and choose where you want the page to be inserted. You can also open both files in separate windows, and drag the page thumbnails from one to the other (not the pages, the thumbnails).
    If you want to copy just the 3D annotation, open both files in separate windows, and open the Tools Pane > Content Panel in both so you can activate the "select object" tool - the big black arrow. Click the 3D annotation to select it, then choose edit>Copy (Ctrl-C), then in the destination PDF file choose Edit>Paste (Ctrl-V). You can move and resize the annotation while you have the select object tool enabled, and any embedded 3D scripts, views, poster images etc will be preserved.
    The only thing you may find is if the source and destination pages are in different orientations, copy/paste may rotate the poster image. To fix that, right-click the pasted annotation and choose Properties, then re-create the poster image.

  • How to insert Transition object into html document

    Hello Friends,
    I am trying to insert Transition object ( downloaded from
    Extension) into HTML document.
    I tried Insert -> HTML -> Head Tags -> Transitions,
    but after doing all this I am not able to insert
    this extension in my document.
    As I am beginner to Dreamweaver, Can anyone pls. help me out?
    I am using Dreamweaver 8.
    Do I need to select <img> tag before inserting
    Transition Object?
    Pls. pls. help me out.....
    Waiting for reply.
    Thanks in advance for your help.

    When I used to do tabs I would set up a page that was as wide as the tab sheet including the tab, then add text frames in each tab position.

Maybe you are looking for