• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access Windows API from Applet??  RSS feed

 
Raj Sethi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
Is it possible to access windows specific APIs from an applet.
I have a requirement to download a applet in the browser and accedd some of the browser properties(something like VNC viewer )

Cheers
Raj
 
Chris Stehno
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure that this would work (for sandbox security reasons) but you could send a certificate with your applet and if users agree to trust it you may be able to use JNI to access windows APIs. I am not sure that even a trusted applet is allowed to use JNI.
Sounds to me like you may be trying for too much ... or going the wrong direction. More details about what you are trying to accomplish would help.
------------------
Chris Stehno (Sun Certified Programmer for the Java 2 Platform)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!