-
March 22nd, 2011, 12:24 AM
#1
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
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|