else if (e.getClickCount() < 2) return;
    public void mouseClicked(MouseEvent e)     {      Point p = e.getPoint();      int row = table.rowAtPoint(p);      int col = table.columnAtPoint(p);      if (table.isCellEditable(row, col))        {          // If the cell editor is the default editor, we request the          // number of the required clicks from it. Otherwise,          // require two clicks (double click).          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);        }    }