P
pandit
I dont Know whts wrong with code ?
its compling but not working (Running ) why
i don't know
can anyone tell me
import java.awt.*;
import java.applet.*;
import java.net.*;
/* <applet code="Acdemo" width=300 height=50>
</applet> */
public class Acdemo extends Applet
{
String msg;
public void start()
{
AppletContext ac = getAppletContext();
URL url = getCodeBase();
msg=url.toString();
try{
ac.showDocument(new URL(url + "te.html"));
}catch(MalformedURLException e)
{
showStatus("file not found");
}
}
}
Thanks in advance
its compling but not working (Running ) why
i don't know
can anyone tell me
import java.awt.*;
import java.applet.*;
import java.net.*;
/* <applet code="Acdemo" width=300 height=50>
</applet> */
public class Acdemo extends Applet
{
String msg;
public void start()
{
AppletContext ac = getAppletContext();
URL url = getCodeBase();
msg=url.toString();
try{
ac.showDocument(new URL(url + "te.html"));
}catch(MalformedURLException e)
{
showStatus("file not found");
}
}
}
Thanks in advance