[5272] in java-interest
Applet-to-Applet Comunication
daemon@ATHENA.MIT.EDU (Bruno Souza - Sun do Brasil)
Sun Feb 4 17:40:49 1996
Date: Sun, 4 Feb 1996 19:14:45 -0200
From: Bruno.Souza@Brazil.Sun.COM (Bruno Souza - Sun do Brasil)
To: java-interest@java.Eng.Sun.COM
Does anyone has had problems with applet-to-applet comunications on
Netscape???
I'm using Netscape2b5 (didn't have a chance to download b6 yet), and
I'm trying to get a hold on an applet handle, so I can call one of it's
methods. Everything works perfect under AppletViewer, and both applets
just run just fine. But under Netscape I do:
Enumeration e = getAppletContext().getApplets();
and then I list all applets on the page, and both applets are there, as
expected. But when I try to do:
TransLog Log = (TransLog) getAppletContext().getApplet("LogDeTrans");
"Log" *allways* receives null. ("LogDeTrans" is the name on the name
argument in the HTML applet tag.)
No errors, no exceptions, no compiler errors/warnings. Everything seems
just fine (and *works perfectly* under AppletViewer!).
I double checked everything I can think off. Can this possible be a
problem in Netscape, or I'm doing something wrong? Has anyone
seem this????
Thanks.
Bruno.
___________________________________________________________
Bruno Peres Ferreira de Souza Sun Microsystems
Bruno.Souza@Brazil.Sun.COM
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com