shuja
November 14th, 2003, 05:29 AM
I m developing a chat application. i have a server progam(chatserver.java) n a client prog(framechat.java) which communicates with the server. i have another applet(createroom) which will create a room if a user desire i want that this applet should call a method which is on the applet framechat.
i m trying to access framechat applet from createroom applet but it is not accessing it. i have written the following code
Applet receiver = null;
String receiverName = framechat; //Get name to search for.
receiver = getAppletContext().getApplet(receiverName);
but it is showing null value. both the applets r in same directory.
thanks for the help
i m trying to access framechat applet from createroom applet but it is not accessing it. i have written the following code
Applet receiver = null;
String receiverName = framechat; //Get name to search for.
receiver = getAppletContext().getApplet(receiverName);
but it is showing null value. both the applets r in same directory.
thanks for the help