Slip10.Write an Applet application
in Java for designing Temple.
Slip10.java
import java.applet.Applet;
import java.awt.*;
public class Slip10 extends Applet
{
public void paint(Graphics g)
{
g.drawRect(100,150,90,120);
g.drawRect(130,230,20,40);
g.drawLine(150,100,100,150);
g.drawLine(150,100,190,150);
g.drawLine(150,50,150,100);
g.drawRect(150,50,20,20);
}
}
Temple.html
<Applet code=Slip10.class
width=250 height=250></Applet>