table.clear();
table.setCellSpacing(0);
table.setCellPadding(0);
table.setWidth("350px");
table.setText(0, 0, msg.name());
table.setText(0, 1, msg.contact());
table.getRowFormatter().setStyleName(0, "gwt-Grid-header");
if(persons == null)return;
for (int row =1; row <= persons.length; ++row) {
table.setText(row, 0, persons[row-1].getName());
table.setText(row, 1, persons[row-1].getContact());