No subject
Sat Nov 12 19:29:10 PST 2005
separate ClassLoader per codebase, not per page. Thus you may get
more or less applets than you bargained for, depending on how you
have them set up.
Regards,
Rob Griffin
Quest Software
E-mail: Rob.Griffin at oz.quest.com
Web site: http://www.quest.com
> -----Original Message-----
> From: advanced-java-admin at lists.xcf.berkeley.edu
> [mailto:advanced-java-admin at lists.xcf.berkeley.edu]On Behalf Of Gart,
> Mitch
> Sent: Tuesday, 22 May 2001 11:23 PM
> To: 'Ken Warner'; advanced-java at lists.xcf.berkeley.edu
> Subject: RE: [Advanced-java] How do I get the NAME of the applet.
>
>
> getAppletContext().getApplets()
>
> - Mitch
>
> > -----Original Message-----
> > From: Ken Warner [mailto:kwarner at cts.com]
> > Sent: Saturday, May 19, 2001 11:49 PM
> > To: advanced-java at lists.xcf.berkeley.edu
> > Subject: [Advanced-java] How do I get the NAME of the applet.
> >
> >
> > Hi,
> >
> > Easy enough to get applets on the same HTML page using
> > appletContext.getApplet("appletName");
> >
> > But imagine that there exists circumstances where you don't
> > know the name of the other applet
> > but you still have to access it. There are an infinite
> > number of senerios where this could be the case.
> >
> > You can use the netscape.javascript.JSObject class to access
> > the DOM of the web page that
> > contains the applet. But in Microsoft's implementation of
> > netscape.javascript.JSObject that is used
> > by IE, the one method that you would end up using to actually
> > get the applet
> > (if you didn't know its name) -- getSlot(<some int>) returns NULL.
> >
> > So in IE you can only get an applet if you know it's name.
> >
> > But what if you don't know it's name??
> >
> > For example:
> >
> > If the applet tag looks like:
> > <APPLET NAME="LocationApplet" CODE="LocationApplet.class"
> > WIDTH="400" HEIGHT="400">
> >
> > How do I get the NAME of the applet???
> >
> > --
> > Ken Warner
> >
> >
> > _______________________________________________
> > Advanced-java mailing list
> > Advanced-java at lists.xcf.berkeley.edu
> > http://lists.xcf.berkeley.edu/mailman/listinfo/advanced-java
> >
> _______________________________________________
> Advanced-java mailing list
> Advanced-java at lists.xcf.berkeley.edu
> http://lists.xcf.berkeley.edu/mailman/listinfo/advanced-java
More information about the Advanced-java
mailing list