import java.awt.*;
import java.applet.*;

public class DrawExample extends Applet
	{	

	Font bigFont;

	Color redColor;
	Color weirdColor;
	Color bgColor;

	public void init(){
		
		bigFont=new Font("Arial",Font.BOLD,16);

		redColor=Color.red;
		weirdColor=new Color(60,60,122);
		bgColor=Color.blue;

		setBackground(bgColor);
		}

	public void stop()
		{
		}

	public void paint(Graphics g){

		//Set the font to what I specified above
		g.setFont(bigFont);
		g.drawString("Shapes and bitch Colors",80,20);
		
		//Change the color to red
		g.setColor(redColor);
		
		g.drawRect(100,100,100,100);	
		g.fillRect(110,110,80,80);

		g.setColor(weirdColor);

		//a circle (intx,inty,intwidth,int height,int startAngle, int Arc Angle
		g.fillArc(120,120,60,60,0,360);
		
		g.setColor(Color.yellow);
		g.drawLine(140,140,160,160);

		//reset color to standard color for next time applet paints
		//happens when part wasn't visible anymore

		g.setColor(Color.black);

	}
}	
