model.removeRow(model.getRowCount()-1);
}
if(!list.isEmpty()){
String sContact = "";
for(Object ob : list){
BusinessPartner bp = (BusinessPartner) ob;
model.addRow(new Object[]{bp.getName(), bp.getOfficePhone(), bp.getFax(), bp.getEmail(),
bp.getOtherEmail(), bp.getAddress(), bp.getCity(), bp.getZipCode(), bp.getCountry(),
bp.getDescription(), bp.getCategory().getName(), bp.getCode()});
}
}
}