Point p = e.getPoint(); int row = table.rowAtPoint(p); int col = table.columnAtPoint(p); if (table.isCellEditable(row, col)) {    TableCellEditor editor = table.getCellEditor(row, col); if (editor instanceof DefaultCellEditor) { DefaultCellEditor ce = (DefaultCellEditor) editor; if (e.getClickCount() < ce.getClickCountToStart()) return; } else if (e.getClickCount() < 2) return; table.editCellAt(row, col); }
    public void mouseClicked(MouseEvent e)     {      // TODO: What should be done here, if anything?    }