B
Baji
Dear Friends,
please suggest me a soultion in the following issue. I am new to
java & please bare my poor english.
I have an appplet, inside the applet, if some conditions matches I
am loading a new applet. using the follwing syntax
Applet realApplet;
Class appletClass =
Class.forName("client.class");
realApplet = (Applet)appletClass.newInstance();
realApplet.setStub(this);
setLayout( new GridLayout(1,0));
add(realApplet);
realApplet.init();
realApplet.start();
now I have a method called "ClientMethod" inside the Client.class
now I want to call this ClientMethod from the applet code, how can I
achieve this.
supppose If I say
public String Message(String Msg)
{
realApplet.ClientMethod(Msg);
}
is not working..
Please suggest me a good idea to achive the above.
Thanks in advance.
Bajio.
please suggest me a soultion in the following issue. I am new to
java & please bare my poor english.
I have an appplet, inside the applet, if some conditions matches I
am loading a new applet. using the follwing syntax
Applet realApplet;
Class appletClass =
Class.forName("client.class");
realApplet = (Applet)appletClass.newInstance();
realApplet.setStub(this);
setLayout( new GridLayout(1,0));
add(realApplet);
realApplet.init();
realApplet.start();
now I have a method called "ClientMethod" inside the Client.class
now I want to call this ClientMethod from the applet code, how can I
achieve this.
supppose If I say
public String Message(String Msg)
{
realApplet.ClientMethod(Msg);
}
is not working..
Please suggest me a good idea to achive the above.
Thanks in advance.
Bajio.