public void actionPerformed(ActionEvent e) {

		String c = e.getActionCommand();
		String commandPlus = "";
		String commandMinus = "";

		for (int i = 0; i < numberOfGroups; ++i) {

			commandPlus = String.format("%d+", i);
			commandMinus = String.format("%d-", i);

			if (c.equals(commandPlus)) {

				UpdateTicketValue(i, "+");
				break;

			} else if (c.equals(commandMinus)) {

				UpdateTicketValue(i, "-");
				break;

			} else if (c.equals("save")) {

				FileManager fileManager = new FileManager();
				if (fileManager.Write(groups))
					currentGroup.setText("Saved");

				return;

			} else if (c.equals("invalid")) {

				++invalidTicket;
				break;

			} else if (c.equals("cancel")) {

				if (invalidTicket == 0)
					return;

				--invalidTicket;
				break;

			}

		}

		infoArea.setText( VoteInfo() );
		VoteStat.setText( VoteInfo() );
				
	}