model.removeRow(model.getRowCount()-1);
}
if(!list.isEmpty()){
String sContact = "";
for(Object ob : list){
Contact ct= (Contact) ob;
model.addRow(new Object[]{ct.getFirstName(),ct.getLastName(),ct.getOfficePhone(),ct.getMobile(),ct.getHomePhone(),
ct.getOtherPhone(),ct.getFax(),ct.getEmail(),ct.getOtherEmail(),ct.getBirthDate(),ct.getAssistant(),ct.getAssistantPhone(),
ct.getAddress(),ct.getCity(),ct.getZipCode(),ct.getCountry(),ct.getDescription(),ct.getBusinessPartner().getName(),ct.getCategory().getName()});
}
}
}