Code:int rows = ((DefaultTableModel)youTable.getModel()).getRowCount(); int col = 0; for(int i=0;i<rows;i++) { String value = (String)((DefaultTableModel)yourTable.getModel()).getValueAt(i, col); //If the item is already in the table if(value.equals("whatever") { //Do something } }