// Lab3 Drawing Assignment
// Developed By Alex Kibler
// Object is : Watch

import java.applet.*;
import java.awt.*;

public class Lab3 extends Applet
{
	public void init()
	{
		
		System.out.println("begin init method");
		setBackground(Color.red);
		System.out.println("end init method");			
	}

	public void paint(Graphics watch)
	{
		System.out.println("begin paint");

		watch.setColor(Color.black);
		Font Title = new Font("TimesRoman",1+2,28);
		watch.setFont(Title);
		watch.drawString("The Watch of the Century", 20,25);

		Color link = new Color(211,211,211);
		watch.setColor(link);
		watch.fillRoundRect(188,386,156,54,10,10);
		watch.fillRoundRect(188,331,156,54,10,10);
		watch.fillRoundRect(188,117,156,54,10,10);
		watch.fillRoundRect(188,62,156,54,10,10);

		Color ring = new Color(230,230,230);
		watch.setColor(ring);
		watch.fillOval(144,146,245,221);
		
		Color ring2 = new Color (10,15,222);
		watch.setColor(ring2);
		watch.fillOval(157,159,217,196);

		Color hand = new Color (0,0,0);
		watch.setColor(hand);
		watch.fillRect(264,198,6,55);
		watch.fillRect(264,253,45,6);
		watch.fillRoundRect(264,173,5,5,5,5);
		watch.fillRoundRect(355,253,5,5,5,5);
		watch.fillRoundRect(264,343,5,5,5,5);
		watch.fillRoundRect(175,250,5,5,5,5);








		System.out.println("end paint");	
	}	
}

