public void actionPerformed(ActionEvent ae)
 	{
  		Object src;
		src = ae.getSource();
		
		if(src.equals(rbuttn1))
			rpress = 1;
		else if(src.equals(rbuttn2))
			rpress = 2;
		else if(src.equals(rbuttn3))
			rpress = 3;
		
		if(src.equals(buttnSubmit))
		{
			int ret = uNValidation();
			if(ret == 0)
				return;
			
			int ret1 = rBValidation();
			if(ret1 == 0)
				return;
			
			switch(rpress)
			{
				case 1: 
					MemoryGameA.main(null);
					break;
				case 2:
					MemoryGameB.main(null);
					break;
				case 3:
					MemoryGameC.main(null);
			}
			dispose();
		}
  	}