import java.applet.Applet;
import java.awt.Graphics;
/**
*
* @author a
*/
public class NewApplet extends Applet {
public void paint(Graphics g)
{
g.drawRect(0,0,100,100);
}
}
import java.awt.Graphics;
/**
*
* @author a
*/
public class NewApplet extends Applet {
public void paint(Graphics g)
{
g.drawRect(0,0,100,100);
}
}
Comments