public void execute(String command)
	{
		errorLabel.setVisible(false);
		switch(command) {
		case "NEW":
			visitsModel.removeAllElements();
			listPane.setVisible(false);
			label.setVisible(true);
			chooseSearchRadio.setVisible(true);
			chooseShowRadio.setVisible(true);
			nextButton.setText(LABEL_NEXT);
			showStep("CHOICE");
			break;
		case "CHOICE": 
			acceptChoice();
			break;
		case "SEARCH":
			acceptSearchOption();
			break;
		case "NAME":
			acceptName();
			break;
		case "DATE":
			acceptDate();
			break;
		case "CANCEL":
			cancelVisit();
			break;
		case "SAVE":
			saveVisits();
			break;
		case "VISITORS":
			showVisitors();
			break;		
		case "BACK":
			backToVisits();
			break;
		}
	}