简体   繁体   English

如何通过onclick按钮调用Java小程序?

[英]How do I call a Java applet from a button onclick?

I need to pass parameters between Java applet and Html by input data into textbox and click button. 我需要通过将数据输入文本框并单击按钮来在Java applet和HTML之间传递参数。 Because it must input data and past to applet in the first place, but how to slow down the applet ? 因为它首先必须输入数据并过去到applet,但是如何降低applet的速度呢? I used to try using inner html , but it's failed. 我曾经尝试使用内部html,但是失败了。 Is there any idea for this question? 这个问题有什么主意吗?

You could use netscape package. 您可以使用netscape包。 This documentation on this is found here . 有关此文档,请参见此处 I have used this myself at times. 我有时会自己使用。 Works on chrome, IE both windows and mac. 适用于chrome,IE以及Windows和Mac。 Safari can also be tricked to work, but needs some workarounds. Safari也可以被欺骗以起作用,但是需要一些解决方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM