Yes,
Mr. Nic Ferrier,
You won the match !
Thanks for reply

Paresh
[EMAIL PROTECTED]

Nic Ferrier wrote:

> >>> Paresh Gheewala <[EMAIL PROTECTED]> 07-Jan-00 6:08:59 AM >>>
>
> >But when two applets run on one page
> >it is very obvious that they can comunicate.
> >But What I need is I don't want the another applet to see in
> >HTML file.
>
> >Anybody who solves this problem
> >will be a challenging man
>
> Since I quite like the idea of being a challenging man I'm going to
> answer this question on-list.
> Sorry, everyone, for the small incovienance.
>
> >I just want to invoke the second applet within first applet
> >i.e. I want to call the second applet.
>
> >Plz. try to understand the problem deeply.
>
> I have tried... and I think I am ready...
>
> //this is the applet that will be called
> public class C1
> extends Applet
> {
>    public void init()
>    {
>       //
>     }
>
>     //this is the method we will call
>     public void SomeMethod()
>     {
>        //do something here.
>     }
> }
>
> //this is the applet that will call the applet C1
> public class C2
> extends Applet
> {
>    C1 tocall;
>
>    public void init()
>    {
>       tocall=new C1();
>     }
>
>     public void SomeMethod()
>     {
>         tocall.SomeMethod();
>     }
> }
>
> Have I won?
>
> Nic Ferrier
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to