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?