public void rightClickMenu(MouseEvent e){
        int r = this.rowAtPoint(e.getPoint());
        if (r >= 0 && r < this.getRowCount()) {
            this.setRowSelectionInterval(r, r);
        } else {
            this.clearSelection();
        }

        int rowindex = this.getSelectedRow();
        if (rowindex < 0)
            return;
        if (e.isPopupTrigger() && e.getComponent() instanceof JTable ) {
            rClickMenu.show(e.getComponent(), e.getX(), e.getY());
        }
	}