VerticalPanel verticalPanel = new VerticalPanel();
verticalPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
initWidget(verticalPanel);
Grid grid = new Grid(4, 2);
verticalPanel.add(grid);
Label lblName = new Label("Name");
grid.setWidget(0, 0, lblName);
customerNameField = new TextBox();
this.customerNameField.setEnabled(false);
this.customerNameField.setReadOnly(true);
grid.setWidget(0, 1, customerNameField);
customerNameField.setHeight("100%");
Label lblAddress = new Label("Address");
grid.setWidget(1, 0, lblAddress);
addressField = new TextArea();
this.addressField.setEnabled(false);
this.addressField.setReadOnly(true);
grid.setWidget(1, 1, addressField);
addressField.setSize("170px", "60px");
Label lblPhone = new Label("Phone");
grid.setWidget(2, 0, lblPhone);
phoneField = new TextBox();
this.phoneField.setEnabled(false);
this.phoneField.setReadOnly(true);
grid.setWidget(2, 1, phoneField);
Label lblCashBalance = new Label("Cash Balance");
grid.setWidget(3, 0, lblCashBalance);
cashBalanceField = new DoubleBox();
this.cashBalanceField.setEnabled(false);
this.cashBalanceField.setReadOnly(true);
this.cashBalanceField.setAlignment(TextAlignment.RIGHT);
grid.setWidget(3, 1, cashBalanceField);
grid.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP);
grid.getCellFormatter().setHorizontalAlignment(0, 0, HasHorizontalAlignment.ALIGN_RIGHT);
grid.getCellFormatter().setHorizontalAlignment(1, 0, HasHorizontalAlignment.ALIGN_RIGHT);
grid.getCellFormatter().setVerticalAlignment(1, 0, HasVerticalAlignment.ALIGN_TOP);
grid.getCellFormatter().setHorizontalAlignment(2, 0, HasHorizontalAlignment.ALIGN_RIGHT);
grid.getCellFormatter().setVerticalAlignment(2, 0, HasVerticalAlignment.ALIGN_TOP);
grid.getCellFormatter().setHorizontalAlignment(3, 0, HasHorizontalAlignment.ALIGN_RIGHT);
grid.getCellFormatter().setVerticalAlignment(3, 0, HasVerticalAlignment.ALIGN_TOP);
holdingListField = new CellTable<Holding>();
holdingListField.setPageSize(5);
verticalPanel.add(holdingListField);