public void receiveMessageFromHost() {
		String string = null;
		try {
			string = input.readLine();
		} catch (IOException e) {
		}
		if (string.equals(CLEAR_WORKSPACE)) {
			applicationController.createAndShowClearWorkspacePrompt();
			return;
		}
		if (string.equals(SUBMIT_ARGUMENT)) {
			System.out.println("EEE");
			applicationController.update();
			// applicationController.appendToChatSession("CHAT: Helper: " +
			// string);
			return;
		}
		if (string.equals(DISABLE_SUBMIT)) {
			applicationController.disableSubmission();
			System.out.println("DISAB");
			return;

		} else if (string.equals(ENABLE_SUBMIT)) {
			applicationController.enableSubmission();
			System.out.println("ENABLE");
			return;
		} else if (string.equals(CLEAR_DIALOG)) {
			chatPanel.clearText();
			return;
		} else if (string.equals(RESTART_SESSION)) {
			applicationController.reset();
		} else if (string.equals(SAVE_SESSION)) {
			applicationController.saveFinalArgument();
		} else if (string.equals(EXIT_PROGRAM)) {
			closeChat();
			System.exit(0);
		}
		chatPanel.appendToTextArea(" Helper : " + string);
		applicationController.appendToChatSession("CHAT: Helper: " + string);
	}