//Use class that draws a dot and make it move based on button selected
//modified from computer insights Arnold UTM
//mbooth 2005 12

//import section
import javax.swing.*;

//test driver
class UseButtonBallPanel
{
	public static void main(String [] args)
    {
		//variables
        JFrame aFrame;
        ButtonBallPanel aPanel;//panel

        //construct frame and panel
        aFrame=new JFrame("Graphics Panel");
        aPanel=new ButtonBallPanel();

        //set up window and panel
		aFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//exit
		aFrame.setContentPane(aPanel);//put panel in frame
		aFrame.setSize(600,300);//size
		aFrame.setResizable(false);//can't resize
		aFrame.setVisible(true);//show frame
	}   //end of main
}//end of test driver