“常用公式”在线计算,“设计手册”在线查询
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 分享淘帖 支持支持 反对反对

共 1 个关于本帖的回复 最后回复于 2013-8-16 16:43

沙发
龚城师 新来的 发表于 2013-8-16 16:43:28 | 只看该作者
研发埠培训中心
At this  point in time applets may communicate with other applets running in the same  virtual machine. If the applets are of the same class, they can communicate  via shared static variables. If the applets are of different classes, then  each will need a reference to the same class with static variables. In any  case the basic idea is to pass the information back and forth through a  static variable.An applet can also get references to all other applets on the  same page using the getApplets() method of java.applet.AppletContext. Once  you get the reference to an applet, you can communicate with it by using its  public members.It is conceivable to have applets in different virtual  machines that talk to a server somewhere on the Internet and store any data  that needs to be serialized there. Then, when another applet needs this data,  it could connect to this same server. Implementing this is non-trivial.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关注我们

360网站安全检测平台