Problem in applet when invoking jinvoke

Sulaiman Malik

Greenhorn

Posts: 25

posted 6 years ago

Hi,

I have a little problem. i am using jinvoke library to call the user32.dll methods. I have developed an applet in netbeans which call the User32.dll methods using jinvoke it works fine in netbeans but when i run an applet in the browser (the html one) it shows the GUI but not invoking the methods. I think it cannot find the jinvoke library. So how to deploy the applet along with the jar file which is jinvoke.

thanks

Lester Burnham

Rancher

Posts: 1337

posted 6 years ago

Any native code you're deploying must be in a signed jar file, and I think the applet code that calls it must also be in a signed jar.

Sulaiman Malik

Greenhorn

Posts: 25

posted 6 years ago

can you please elaborate how to put an applet code into a signed jar. I have to do this.