@Override
	public void actionPerformed(ActionEvent e) {
		if (e.getActionCommand().equals("setCardName"))
		{
			String s = JOptionPane.showInputDialog(frame, "Set Card Name...", property.getValue());
			if (s == null) { s = property.value; }
			if (s != null && s.isEmpty()) { s = property.defaultValue; }
			property.value = s;
			frame.reRenderCard();
			frame.hm.card.changed = true;
		}
		
		if (e.getActionCommand().equals("setSubCardName"))
		{
			String s = JOptionPane.showInputDialog(frame, "Set Card Type...", property.getSubnameValue());
			if (s == null) { s = property.subnameValue; }
			if (s != null && s.isEmpty()) { s = property.subnameValue; }
			property.subnameValue = s;
			frame.reRenderCard();
			frame.hm.card.changed = true;
		}
	}