🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.java
Article #3

Re: Reference to an Applet ?

#3
From: A.Sudhir
Date: Mon, 27 Mar 2000 00:00
56 lines
2182 bytes
Hi,
    Actually you can access your Applet. Here is the complete Applet Tag.

< APPLET
    [CODEBASE = codebaseURL]
    CODE = appletFile
    [ALT = alternateText]
    [NAME = appletInstanceName]
    WIDTH = pixels
    HEIGHT = pixels
    [ALIGN = alignment]
    [VSPACE = pixels]
    [HSPACE = pixels]
>
[< PARAM NAME = appletParameter1 VALUE = value >]
[< PARAM NAME = appletParameter2 VALUE = value >]
. . .
[alternateHTML]
</APPLET>


Next using getAppletContext() get the Applet Context and then call the
method getApplet(string appletname) to ge access to that particular applet.
The Applet Name specified here is the name given in the Applet Tag. Hope
this helps.

Thanks
Sudhir
sudhir@javacommerce.com
http://www.javacommerce.com


--
Sudhir Ancha
MCI WorldCom
Phone : 703-918-6874
email : sudhir.ancha@wcom.com
Laurent Souriau <lsouriau@club-internet.fr> wrote in message
news:8bo0k5$fe2$1@news5.isdnet.net...
>             hi,
>
> I have a simple question.
> I create an applet which contains a method called Montredoc().
> In the init method i create some objects.
> Inside one of these objects, i want to call Montredoc() but i don't
> know how to refer to my applet since there is no explicit way to
> give a name to my applet.
>
> any one has got an idea ?
>
> Thank you
>
> Laurent
> email: lsouriau@club-internet.fr
>
>
Technical Details
Message-ID: <zOLD4.278$cV3.10436@pm01news.wcom.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8bo0k5$fe2$1@news5.isdnet.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f631b,23f29b2e2953c63e
X-Google-Attributes: gidf631b,public
X-Google-Thread: 10a146,23f29b2e2953c63e
X-Google-Attributes: gid10a146,public
X-Google-Thread: f74b3,23f29b2e2953c63e
X-Google-Attributes: gidf74b3,public
From: "A.Sudhir" <sudhir@javacommerce.com>
Subject: Re: Reference to an Applet ?
Date: 2000/03/27
Message-ID: <zOLD4.278$cV3.10436@pm01news.wcom.com>
X-Deja-AN: 602998585
References: <8bo0k5$fe2$1@news5.isdnet.net>
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Trace: pm01news.wcom.com 954173727 166.44.42.147 (Mon, 27 Mar 2000 16:15:27 GMT)
NNTP-Posting-Date: Mon, 27 Mar 2000 16:15:27 GMT
Newsgroups: fr.comp.lang.java,comp.lang.java.programmer,borland.public.jbuilder.java.language