public void sendMessage (String message) {
			// Do nothing if a player tries to chat before registering a name.
			if (this.name == null) return;
			// Do nothing if the chat message is invalid.
			if (message == null) return;
			message = message.trim();
			if (message.length() == 0) return;
			// Prepend the player's name and add to everyone's chat frame.
			message = this.name + ": " + message;
			for (Player player : players)
				player.frame.addMessage(message);
		}