[5548] in java-interest
Re[2]:
daemon@ATHENA.MIT.EDU (COLLINS-LEE)
Thu Feb 15 18:07:18 1996
Date: Thu, 15 Feb 96 14:31:57 CST
From: "COLLINS-LEE" <collinsl@norcmail.uchicago.edu>
To: Heather Swayne <hswayne@wrc.xerox.com>
Cc: java-interest@java.sun.com
I think you misunderstood my question (probably due to my lack of
explanation)
What I want to do is:
Create an instant of a class by giving its name.
call init() inside that class.
THE PROBLEM:
init() is going to get getParameter() to get the parameters.
WHAT I THINK I NEED
a way to define parameters so that when init() is called it will
recieve the parameters that i decide (since there is NO HTML tag).
I may need to do something like:
create my own object that implements AppletStub and use myStub
in a call to Applet.setStub(). Write myStub.getParameter() to
return what i want it to.
Thanx
Lee Collins
______________________________ Reply Separator _________________________________
Subject: Re:
Author: Heather Swayne <hswayne@wrc.xerox.com> at INTERNET
Date: 2/15/96 12:51 PM
Elliotte Harold explains all of this in his Mondrian examples, within his Java
Tutorial: Brewing Java.
check it out:
http://sunsite.unc.edu/javafaq/javatutorial.html
hope this helps,
Heather
COLLINS-LEE wrote:
>
> Java Gurus,
>
> Can anyone explain to me how I can load an applet dynamically through
> a Java application and pass it <Param> information that would normally
> be with the applet tag.
>
> The *real* question is, how does an applet loaded from an HTML page
> get the parameters? What class? What method? When?
>
>
> //----------------------------------------------------------------------
> class LeeCollins extends JavaDeveloper implements IllustriousJavaCode
> {
> public LeeCollins()
> {
> MailAddress ma =
> new MailAddress("collinsl@norcmail.uchicago.edu");
> }
> }
> //----------------------------------------------------------------------
>
>
> -
> This message was sent to the java-interest mailing list
> Info: send 'help' to java-interest-request@java.sun.com
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com