public void actionPerformed(ActionEvent ae) {
		String command = ae.getActionCommand();
		String subCommand = command.substring(1);
		/*
		 * Prefix ------ D:tablet display L:Login F:Floor T:Table C:Command
		 * M:Menu S:SubMenu R:Register
		 */

		switch (command.charAt(0)) {
		case 'D':
			eventDisplay(subCommand);
			break;
		case 'L':
			eventLogin(subCommand);
			break;
		case 'F':
			eventFloor(subCommand);
			break;
		case 'T':
			eventTable(subCommand);
			break;
		case 'C':
			eventCommand(subCommand);
			break;
		case 'M':
			eventMenu(subCommand);
			break;
		case 'S':
			eventSubmenu(subCommand);
			break;
		case 'R':
			eventRegister(subCommand);
			break;
		}
	}