public void keyPressed(KeyEvent ke)
	{
		//Setting the key boolean to 'True'
		if (ke.getKeyCode() >= 0   &&   ke.getKeyCode() <= 255   &&   allKeys[ke.getKeyCode()] != true)
		{
			allKeys[ke.getKeyCode()] = true;
		}
	}