public void mousePressed(MouseEvent e)
        {
            java.awt.Point point = e.getPoint();

            if (table.getSelectedRowCount() == 0
                    || !table.isRowSelected(table.rowAtPoint(point)))
                table.changeSelection(table.rowAtPoint(point), 0, false, false);
        }