//show use of keyboard to move a dot
//and show a dot moving randomly
//modified from computer insights Arnold UTM
//mbooth 2005 12

//import section
import javax.swing.*;//gui
import java.awt.*;   //events


//class declaration
public class KeyDotsPanelTest
{
	public static void main(String [] args)
    {
		JFrame aFrame=new JFrame();//construct window
		KeyDotsPanel aPanel = new KeyDotsPanel();//construct panel
		aFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		aFrame.getContentPane().add(aPanel, BorderLayout.CENTER);//add panel
		aFrame.setSize(600,600);//set window size
		aFrame.pack();//optimize window
		aFrame.setVisible(true);//show window
	}//end main
}//end test driver
