Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in applet when invoking jinvoke

 
Sulaiman Malik
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you please elaborate how to put an applet code into a signed jar. I have to do this.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Searching for "deploying native code applet" found http://www.jinvoke.com/Calling-native-code-with-Java-Applets-using-J-Invoke, which is apparently part of the documentation of the library you're using. In the future, please check the documentation first.
 
Sulaiman Malik
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have already gone through with this documentation. May be i am missing something i will try it again.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic