aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 39530
This article explains how this can be done. The first method it describes would not work, but the second and third should work.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: inter applet communication
Similar Threads
Problem in running swing applet in IE ...
Socket connections and Browser
maintain single session from applet
Java Applets and file execution
Problem in running swing applet in IE ...