[code]HERE IS THE PROG. OF JAVA APPLET:import java.applet.*;
import java.awt.*;
public class appimg extends Applet{
Image img;
MediaTracker tr;
public void paint(Graphics g){
tr=new MediaTracker(this);
img=getImage(getCodeBase(),getParameter("img");
tr.addImage(img,0);
g.drawImage(img,0,0,this);
}}
AND BELOW IS THE HTML CODE:
[/code]
Comments
Leave a comment