March 22nd, 2011, 12:24 AM
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
March 22nd, 2011, 08:18 AM
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...
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.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!