//draw an image test driver
//modified from computer insights Arnold UTM
//mbooth 2005 12

//import section
import javax.swing.*;//gui
import java.awt.*; //events
import java.awt.image.*; //events to load image

public class DrawingImageTest
{
	public static void main(String [] args)
    {
        //variables
        JFrame aFrame;//main frame
        DrawingImagePanel aPanel;//image panel

        //construct frame and panel
        aFrame=new JFrame("Drawing Image Demo");
        aPanel = new DrawingImagePanel();

        //set up frame and add panel
		aFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		aFrame.getContentPane().add(aPanel, BorderLayout.CENTER);
		aFrame.pack();//sizes the frame optimally
		aFrame.setVisible(true);//show frame
	}//end of main
}//end of class test driver


