Infolinks In Text Ads

Jun 22, 2010

Call Java script function in Applet program code

import java.applet.*;
import java.net.*;

public class Test extends Applet{
public void init(){
String msg = "Call Java script function in Applet program code";
try {
getAppletContext().showDocument
(new URL("javascript:doAlert(\"" + msg +"\")"));
}
catch (MalformedURLException me) { }
}
}

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...