wrote:
> public class callJs
// please use the common naming conventions for
// classes and methods. Classes are
// EachWordUpperCase
> {
private testJs applet;
public CallJS(testJs theApplet) {
applet = theApplet;
}
public void someMethod() {
> // this class is where the js needs to be called.
> testJs.runJs(); // this doesn't work because it needs an object
applet.runJs();
> // to run it with, but the only object I can use
> // is the top level applet. But how can I reference
> // the top level object?
> }
>
> Does anyone have a suggestion as to how this can be accomplished?
>
> Many thanks for you help.
Please consider asking such questions in groups better
suited to beginners.
<http://www.physci.org/codes/javafaq.jsp#cljh>
HTH