// "HappyFaceDemo.java" - A HappyFace module driver program

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

public class HappyFaceDemo extends Applet
{
    public void paint (Graphics g)
    {
    	HappyFace.show (g);		// Show the happy face
    	try				// Wait one second
    	{
    	    Thread.sleep (1000);
    	}
    	catch (InterruptedException e)
    	{
    	    ;
    	}
    	HappyFace.move (200, 100, g, 	// Move the happy face to the right
    	    getBackground ());	
    } // paint method
} // HappyFaceDemo class
