• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Problem in applet when invoking jinvoke

 
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
 
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
 
Whatever you say buddy! And I believe this tiny ad too:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!