简体   繁体   English

Java与小程序之间的通讯

[英]Communication between Java and applet

How do I get the (updated) value of Java Class's variable which is dynamically modified from an applet? 如何获取从小程序动态修改的Java类变量的(更新)值?

The problem here is, since the applet is loaded in separate class loaders the updated value is not available when the applet is loaded a second and subsequent times. 这里的问题是,由于将applet加载到单独的类加载器中,所以在第二次及以后加载applet时,更新的值不可用。

请参阅Java到Java的通信Java Java的交互以及不使用LiveConnect进行的Java交互。

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

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