@Override
		public void actionPerformed(ActionEvent event) {
			String which = event.getActionCommand();

			if (which.equals("Get change back")) {
				status.setText("You get " + total + " back");
				total = 0;
				coinmesg.setText("Cents: " + total);
			}

			else {
				if (which.equals("Add a nickel")) {
					total +=5;
				}

				else if (which.equals("Add a dime")) {
					total += 10;
				}

				else {
					total += 25;
				}

				status.setText("");
				coinmesg.setText("Cents: " + total);
			}

		}