I am not sure whats wrong here. This is a simple event handling program we are trying to make for a group assignment, but it throws an exception if the name entered is more than one word.


/*...