/**
 * A Driver that can be used to demonstrate the PictureFrame class.
 */
public class PictureFrameDriver
{
    /**
     * The entry point.
     *
     * @param args   The command line arguments
     */
    public static void main(String[] args)
    {
        double             visible;        
        PictureFrame       dog, snake;
        

        dog = new PictureFrame(8.0, 10.0, 0.0, true);
        System.out.printf("Description:  %s\n", dog.toString());
        System.out.printf("Visible Area: %5.2f sq. in.\n", 
                          dog.calculateVisibleArea());
        System.out.printf("Cost: $%5.2f\n", dog.calculateCost());

        System.out.printf("\n");        
        snake = new PictureFrame(3.0, 5.0, 1.0, true);
        System.out.printf("Description:  %s\n", snake.toString());
        System.out.printf("Visible Area: %5.2f sq. in.\n", 
                          snake.calculateVisibleArea());
        System.out.printf("Cost: $%5.2f\n", snake.calculateCost());
    }
}
