// Java applet that draws a face. 
// Cameron Gregory - cameron@local.com
// http://www.bloke.com/
/* Note:
**    This is *not* a good example of an Applet
**    It demonstrates the use of some simple Graphics methods.
*/
import java.awt.*;

public class face extends java.applet.Applet
{
         public void paint(Graphics g) {
/* border */
             g.setColor(Color.red);
             g.drawRect(0, 0, 199, 199);
/* face */
             g.setColor(Color.red);
             g.drawOval(25, 25, 150, 150);
/* nose */
             g.setColor(Color.blue);
             g.fillOval(95, 95, 20, 20);
/* eyes */
             g.setColor(Color.red);
             g.drawOval(40, 60, 40, 20);
             g.drawOval(120, 60, 40, 20);
/* eyeballs */
             g.setColor(Color.blue);
             g.fillOval(130, 65, 10, 10);
             g.fillOval(60, 65, 10, 10);
/* mouth */
             g.setColor(Color.green);
             g.fillRect(60, 135, 80, 15);
/* alt */
             g.setColor(Color.black);
             g.drawArc(50, 50, 100, 100, 225, 90);
             /* g.drawArc(x,y,width,height,start_degree,rotate_degree)*/
         }
}

