public void actionPerformed(ActionEvent e) {

		Locale locale = Locale.getDefault();
		Date date = new Date(e.getWhen());
		String s = DateFormat.getTimeInstance(DateFormat.SHORT, locale).format(date);

		if (!model.isEmpty()) {
			model.clear();
		}

		if (e.getID() == ActionEvent.ACTION_PERFORMED) {
			model.addElement(" Event Id: ACTION_PERFORMED");
		}

		model.addElement(" Time: " + s);

		String source = e.getSource().getClass().getName();
		model.addElement(" Source: " + source);

		int mod = e.getModifiers();

		StringBuffer buffer = new StringBuffer(" Modifiers: ");

		if ((mod & ActionEvent.ALT_MASK) > 0) {
			buffer.append("Alt ");
		}

		if ((mod & ActionEvent.SHIFT_MASK) > 0) {
			buffer.append("Shift ");
		}

		if ((mod & ActionEvent.META_MASK) > 0) {
			buffer.append("Meta ");
		}

		if ((mod & ActionEvent.CTRL_MASK) > 0) {
			buffer.append("Ctrl ");
		}

		model.addElement(buffer);
	}