import java.awt.*;
import java.applet.*;
public class Drawing extends Applet
{
public void paint(Graphics g)
{
g.drawLine(10,10,50,50);
g.drawRect(10,10,60,40);
g.drawOval(60,60,50,50);
}
}
//<applet code="Drawing" width="300" height="300">
//</applet>
No comments:
Post a Comment