* set background
*/
@Override
public void setBackground(ArrayList<String> playerIds) {
// set the background image
Image pokertable = gameimages.getPokerTable();
int picWidth = pokertable.getWidth();
int picHeight = pokertable.getHeight();
int numPlayer = playerIds.size();
backgroundArea.setPixelSize(picWidth, picHeight);
backgroundArea.add(pokertable);
// set chip images
int chipWidth = 60;
int chipHeight = 60;
chip10.setPixelSize(chipWidth, chipHeight);
backgroundArea.add(chip10);
backgroundArea.setWidgetPosition(chip10, 300, 450);
chip20.setPixelSize(chipWidth, chipHeight);
backgroundArea.add(chip20);
backgroundArea.setWidgetPosition(chip20, 400, 450);
chip50.setPixelSize(chipWidth, chipHeight);
backgroundArea.add(chip50);
backgroundArea.setWidgetPosition(chip50, 500, 450);
chip100.setPixelSize(chipWidth, chipHeight);
backgroundArea.add(chip100);
backgroundArea.setWidgetPosition(chip100, 600, 450);
PairsPlus = new Image(chipImages.PairsPlus());
PairsPlus.setPixelSize(chipWidth + 40, chipHeight + 40);
backgroundArea.add(PairsPlus);
backgroundArea.setWidgetPosition(PairsPlus, 380, 300);
Ante = new Image(chipImages.Ante());
Ante.setPixelSize(chipWidth + 40, chipHeight + 40);
backgroundArea.add(Ante);
backgroundArea.setWidgetPosition(Ante, 500, 300);
// 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);