File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes inter applet communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "inter applet communication" Watch "inter applet communication" New topic

inter applet communication

Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
We have the following scenario.
From page 'A' we download an applet.Then we open page 'B' from 'A' through
Page 'B' downloads another applet - is it possible for this applet to invoke a method on the packaged applet from page 'A'.
If not,is there any other better way to achieve this?
Page 'B' is not modifiable .Page 'A' simply needs to download a 'listener' library on to the client machine,which can be called on/notified by the applet downloaded by page 'A'.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
This article explains how this can be done. The first method it describes would not work, but the second and third should work.
I agree. Here's the link:
subject: inter applet communication
It's not a secret anymore!