public void actionPerformed(ActionEvent a)
		{
			String s=a.getActionCommand();
			if(s.equals("start"))
			{
					tag=1; 
			}			
			if(s.equals("speed"))
			{
				 
				String str=text.getText();
				initdiff1=(Integer.parseInt(str))*0.0001F;
				diff1=initdiff1;
				 
				 
			}
			if(s.equals("stop"))
			{
				tag=0;
			}
			going();
		}