@Override
    public void actionPerformed(ActionEvent e) {
	LogLine selected = ((LogTableModel) mListLog.getModel())
		.getItem(mListLog.getSelectedRow());
	if (selected != null) {
	    switch (e.getActionCommand()) {
	    case Main.COMMAND_FILTER_THISTAG:
		setFilteredTag(selected.getTags());
		break;
	    case Main.COMMAND_FILTER_THISPROC:
		setFilteredPID(selected.getPID());
		break;
	    case Main.COMMAND_FILTER_WATCHPROC:
		mMonitoringPID = selected.getPID();
		break;
	    case Main.COMMAND_FILTER_COPY:
		copyToClipboard(selected.toString());
		break;
	    case Main.COMMAND_FILTER_COPYBODY:
		copyToClipboard(selected.getBody());
		break;
	    case Main.COMMAND_LOG_DETAILS:
		LogDetailDialog dialog = new LogDetailDialog(selected);
		JOptionPane.showMessageDialog(this, dialog, "ログの詳細",
			JOptionPane.PLAIN_MESSAGE);
	    default:
		break;
	    }
	}
    }