Aaron,

J Aaron Farr wrote:
> [...]
> 
> So then I wanted to open one of my own frames, already defined in another part
> of my package.  So I changed the javascript to something like this:
> 
>       function testjs(){
>        importPackage(Packages.mypackage);
>        var b = new MyFrame();
>        b.setUrl("http://myserver.com";);
>        b.show();
>       }
> 
> Now, the jar file that holds the batik browser I have contains both the batik
> libraries and also my own package.  So I'm thinking they should be all in the
> classpath.  But when I click on the text now, I get an error message saying
> "MyFrame()" is not a defined function.
> 
> Does anyone know what I'm doing wrong here?  Anyone else know how to use
> javascript to call some of my java classes and methods?
> 

You seem to be doing the right thing, so I suspect a typo in your class 
name or in the importPackage statement....

Vincent.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to