[4340] in java-interest
Is AppletContext Broken in Netscape?
daemon@ATHENA.MIT.EDU (David Strauss)
Tue Dec 19 09:00:04 1995
Date: Tue, 19 Dec 1995 07:20:58 -0500 (EST)
To: java-interest@java.sun.com.dstrauss@lehman.com
From: dstrauss@panix.com (David Strauss)
I'm trying to use AppletContext to do inter-applet communication.
Basically I have two applets. One is a timer. The other is just
two buttons. The button applet initially does a getAppletContext
and then calls getApplet to get the timer applet. Then one button
will start the timer when pushed and the other will
stop the timer when pushed. This works well in AppletViewer, so
I know I'm doing it right.
But it doesn't work in Netscape 2.0 Beta 3. Somewhere along the
line I'm getting a Null Pointer Exception when I try running it
in Netscape. I can't tell whether getAppletContext is returning
null, getApplet is returning null, or something else, since the Netscape
Java console won't tell me where it's happening and doesn't
want to output any traces I put in.
I assume getAppletContext is broken in Netscape. Does anybody
know more about this? What other ways are there to do inter-applet
communication that might work in Netscape?
David Strauss
dstrauss@panix.com
dstrauss@lehman.com
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com