// set dealer's place
int dealerNameTop = (int) (pokertable.getHeight() * 0.22);
int dealerCardTop = dealerNameTop + NAME_HEIGHT;
namePlaces.add(new Label(messages.setDealer()));
cardPlaces.add(new FlowPanel());
int left = (int) (0.5 * picWidth - 0.5 * CARD_WIDTH);
backgroundArea.add(namePlaces.get(0));
backgroundArea
.setWidgetPosition(namePlaces.get(0), left, dealerNameTop);
cardPlaces.get(0).setPixelSize(CARD_WIDTH * 3, CARD_HEIGHT);
backgroundArea.add(cardPlaces.get(0));
backgroundArea
.setWidgetPosition(cardPlaces.get(0), left, dealerCardTop);
// set the player place
int playerNameTop = dealerCardTop + CARD_HEIGHT;
int playerCardTop = playerNameTop + NAME_HEIGHT;
for (int i = 0; i < numPlayer; i++) {
namePlaces.add(new Label(messages.setID() + playerIds.get(i)));
cardPlaces.add(new FlowPanel());
}
// set the player's place
for (int i = 1; i < numPlayer + 1; i++) {
backgroundArea.add(namePlaces.get(i));
left = (int) (0.5 * (picWidth / numPlayer) - 0.5 * CARD_WIDTH + (i - 1)