Results 1 to 4 of 4
  1. #1
    vin_eets is offline Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    0

    Default Embedding applet into HTML

    I am running TestNG which will generate my test result and using these results I need to create a report
    This program(let us say A.java) is starting point for execution

    I want in output

    An html file(which will be created by javacode) and
    an applet embedded into that HTML fille

    What should be the flow control of program,I am not able to decide ?

    If I import the applet generating file/package in ,how will I instantiate the applet(using JApplet) because nothing will happen if I will use
    AppletGenerator g1=new AppletGenerator(); in A.java

    The second approach is pass the control to another program using exec() method.Which approach should I go for?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    What does this have to do with AWT/Swing?

    db

  3. #3
    vin_eets is offline Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    0

    Default

    How would I acheive this ?

    Which approach should I choose?

  4. #4
    dlorde is offline Senior Member
    Join Date
    Jun 2008
    Posts
    339
    Rep Power
    7

Similar Threads

  1. Applet in Html
    By durduman in forum New To Java
    Replies: 10
    Last Post: 02-06-2011, 04:17 PM
  2. Embedding Applet into the center of fullscreen API
    By crikey in forum Advanced Java
    Replies: 3
    Last Post: 08-25-2010, 10:53 PM
  3. Netbeans 6.5.1 & embedding in html page
    By dbashby in forum New To Java
    Replies: 5
    Last Post: 04-06-2009, 04:58 AM
  4. Embedding Applet into HTML?
    By Unome in forum Java Applets
    Replies: 1
    Last Post: 02-21-2009, 04:40 AM
  5. Embedding Word in an applet
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-25-2008, 03:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •