CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Posts
    8

    Embed 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?
    Add to vin_eets's Reputation

  2. #2
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: Embed Applet into HTML

    Cross-posted in Java Forums.

    Please don't do this without providing links to the cross-posts.

    Computing is not about computers any more. It is about living...
    N. Negroponte
    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured