panel.add(table, DockPanel.CENTER);
Label label = new Label("First name: ");
label.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);
table.setWidget(0, 0, label);
table.setWidget(0, 1, new ActiveTextBox(contact, "name.firstName", new DefaultErrorMessageCallback()));
table.setWidget(1, 0, new Label("Middle name: "));
table.setWidget(1, 1, new ActiveTextBox(contact, "name.middleName", new DefaultErrorMessageCallback()));
table.setWidget(2, 0, new Label("Last name: "));
table.setWidget(2, 1, new ActiveTextBox(contact, "name.lastName", new DefaultErrorMessageCallback()));
table.setWidget(3, 0, new Label("Email: "));
table.setWidget(3, 1, new ActiveTextBox(contact, "email", new DefaultErrorMessageCallback()));
table.setWidget(4, 0, new Label("Private?: "));
table.setWidget(4, 1, new ActiveCheckBox(contact, "privateContact"));
table.setWidget(5, 0, new Label("Birth Date: "));