// these are some of the basics of applets


import java.awt.*;
import java.applet.Applet;

public class BasicDrawing extends Applet
{

	public void paint(Graphics g) {

		// look at Color Object
		g.setColor(new Color(204,102,102));
		g.setColor(Color.red);

		// draw a line

		g.drawLine(0, 0, 50, 50);

		// draw a rectangle
		g.drawRect(20, 20, 30, 30);

		// draw an oval
		//g.drawOval(50, 50, 20, 10);
		g.fillOval(50, 50, 20, 10);

		Font f = new Font("Helvetica",Font.BOLD,36);

		g.setFont(f);
       	g.setColor(Color.blue);
		g.drawString("Hello World!", 25, 100);

	}
}
