[1957] in java-interest

home help back first fref pref prev next nref lref last post

Re: Calling Applets

daemon@ATHENA.MIT.EDU (Andrew Wason)
Wed Sep 20 15:10:31 1995

To: java-interest@java.Eng.Sun.COM
In-Reply-To: Message from Arthur van Hoff <Arthur.Vanhoff@eng.sun.com> 
   of "Tue, 19 Sep 95 13:16:01 -0800."   <Roam.1.2.811541761.6926.avh@acorn> 
Date: Wed, 20 Sep 95 12:06:55 -0400
From: Andrew Wason <aw@bae.bellcore.com>

Arthur van Hoff <Arthur.Vanhoff@eng.sun.com>  writes:
> 
> 
> Hi Mary,
> 
> > I have a question about Applet communication.
> > 
> > I have an applet that requests input from the user and
> > then invokes another applet when the user hits the 'OK' button.  
> > 
> > How do I display the new applet, passing the user input to it, 
> > using the beta API?
> > 
> > I quess the question is can an applet display another applet 
> > and pass data into it?
> 
> You can't do that easilly, although I have seen applets that generate html on
> the fly and jump to it. The new APIs only let you access the applets that are
> on the same page.

In alpha3 you could subclass both applets from a common base
class and use a static class variable to communicate between
instances of that class on different pages.  I would think that
would still work in the beta.


Andrew

_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post