Tweet
import java.awt.*;
import java.applet.*;
import java.net.*;
/*
<applet code="ACDemo" width=400 height=100>
</applet>
*/
public class ACDemo extends Applet
{
public void start()
{
AppletContext ac=getAppletContext();
URL url=getCodeBase();
try
{
ac.showDocument(new URL(url+"Test.html"));
}
catch(MalformedURLException e)
{
showStatus("URL not found");
}
}
}
To display an HTML file using applet context
Posted by
LAHAUL SETH
~
To display an HTML file using applet context
2012-01-15T10:15:00+05:30
LAHAUL SETH
HTML
|
Java
|
Java Applet
|
Comments
To display an HTML file using applet context
2012-01-15T10:15:00+05:30
LAHAUL SETH
HTML
|
Java
|
Java Applet
|