Click to See Complete Forum and Search --> : Inter-Applet Communication


Samir Bhagwat
February 29th, 2000, 10:40 PM
Hi CodeGuru,

I have a problem.

I need to do a showDocument(xxx.html) in my program to launch a new instance of the applet embedded in xxx.html in a separate browser frame.
But the applet embedded inside the html expects certain parameters. How do i pass those parameters to the applet in or after the call to
showDocument() ?

kib63613
March 1st, 2000, 03:18 AM
There are two ways to do this job. One, you may use LiveConnect to convey
the parameters between these two applets. You may refer to the Javascript about
LiveConnect. Two, If they are on the same codebase, you may use the intermediate
class which is used to take the parameter values that applets use.
good luck,
Alfred Wu