public void actionPerformed(ActionEvent e)
      {
	if(e.getSource()==start)
	{
 	     stopflag=false;
	     t=new Thread(this);
	     t.start();
	}
	else if(e.getSource()==stop)
	{
 	     stopflag=true;
	     t=null;
	}
      }