*/
	private void recListPopup(MouseEvent e) {
		JTable tbl = null;
		JScrollPane pane = null;
		try {
			tbl = (JTable)e.getSource();
		}
		catch (ClassCastException cce) {
			pane = (JScrollPane)e.getSource();
			if (pane.equals(queryDbPane)) {
				tbl = queryDbTable;
			}
			else if (pane.equals(resultPane)) {
				tbl = resultTable;
			}
			if (pane.equals(queryFilePane)) {
				tbl = queryFileTable;
			}
		}
		int rowCnt = tbl.getSelectedRows().length;
		
		JMenuItem item1 = new JMenuItem("Show Record");
		item1.addActionListener(new PopupShowRecordListener(tbl));
		JMenuItem item2 = new JMenuItem("Multiple Display");
		item2.addActionListener(new PopupMultipleDisplayListener(tbl));
		
		// 可視設定
		if (tbl.equals(queryFileTable)) {
			item1.setEnabled(false);
			item2.setEnabled(false);
		}
		else if (rowCnt == 0) {
			item1.setEnabled(false);
			item2.setEnabled(false);
		}
		else if (rowCnt == 1) {
			item1.setEnabled(true);
			item2.setEnabled(false);
		}
		else if (rowCnt > 1) {
			item1.setEnabled(false);
			item2.setEnabled(true);
		}
		
		// ポップアップメニュー表示
		JPopupMenu popup = new JPopupMenu();
		popup.add(item1);
		if (tbl.equals(resultTable)) {
			popup.add(item2);
		}
		popup.show(e.getComponent(), e.getX(), e.getY());
	}