table.setHeight(row++, 16);  PrintButton print = (PrintButton) getButton(new PrintButton(localize("print", "Print"))); table.add(print, 1, row);
	private void showReceipt(IWContext iwc, Collection runners, double amount, String cardNumber) {		Table table = new Table();		table.setCellpadding(0);		table.setCellspacing(0);		table.setWidth(Table.HUNDRED_PERCENT);		int row = 1;		table.add(getPhasesTable(isIcelandic ? 7 : 6, isIcelandic ? 7 : 6, "run_reg.receipt", "Receipt"), 1, row++);		table.setHeight(row++, 18);				table.add(getHeader(localize("run_reg.hello_participant", "Hello participant(s)")), 1, row++);		table.setHeight(row++, 16);		table.add(getText(localize("run_reg.payment received", "We have received payment for the following:")), 1, row++);		table.setHeight(row++, 8);		Table runnerTable = new Table(5, runners.size() + 1);		runnerTable.setWidth(Table.HUNDRED_PERCENT);		runnerTable.add(getHeader(localize("run_reg.runner_name", "Runner name")), 1, 1);		runnerTable.add(getHeader(localize("run_reg.run", "Run")), 2, 1);		runnerTable.add(getHeader(localize("run_reg.distance", "Distance")), 3, 1);		runnerTable.add(getHeader(localize("run_reg.race_number", "Race number")), 4, 1);		runnerTable.add(getHeader(localize("run_reg.shirt_size", "Shirt size")), 5, 1);		table.add(runnerTable, 1, row++);		int runRow = 2;				Iterator iter = runners.iterator();		while (iter.hasNext()) {			Participant participant = (Participant) iter.next();			Group run = participant.getRunTypeGroup();			Group distance = participant.getRunDistanceGroup();						runnerTable.add(getText(participant.getUser().getName()), 1, runRow);			runnerTable.add(getText(localize(run.getName(), run.getName())), 2, runRow);			runnerTable.add(getText(localize(distance.getName(), distance.getName())), 3, runRow);			runnerTable.add(getText(String.valueOf(participant.getParticipantNumber())), 4, runRow);			runnerTable.add(getText(localize("shirt_size." + participant.getTShirtSize(), participant.getTShirtSize())), 5, runRow++);		}				Table creditCardTable = new Table(2, 3);		creditCardTable.add(getHeader(localize("run_reg.payment_received_timestamp", "Payment received") + ":"), 1, 1);		creditCardTable.add(getText(new IWTimestamp().getLocaleDateAndTime(iwc.getCurrentLocale(), IWTimestamp.SHORT, IWTimestamp.SHORT)), 2, 1);		creditCardTable.add(getHeader(localize("run_reg.card_number", "Card number") + ":"), 1, 2);		creditCardTable.add(getText(cardNumber), 2, 2);		creditCardTable.add(getHeader(localize("run_reg.amount", "Amount") + ":"), 1, 3);		creditCardTable.add(getText(formatAmount(iwc.getCurrentLocale(), (float) amount)), 2, 3);		table.setHeight(row++, 16);		table.add(creditCardTable, 1, row++);				table.setHeight(row++, 16);		table.add(getHeader(localize("run_reg.delivery_of_race_material_headline", "Race material and T-shirt/sweatshirt")), 1, row++);		table.add(getText(localize("run_reg.delivery_of_race_material_body", "Participants can collect their race number and the t-shirt/sweatshirt here.")), 1, row++);		table.setHeight(row++, 16);		table.add(getHeader(localize("run_reg.receipt_info_headline", "Receipt  PRINT IT OUT")), 1, row++);		table.add(getText(localize("run_reg.receipt_info_headline_body", "This document is your receipt, please print this out and bring it with you when you get your race number and T-shirt/sweatshirt.")), 1, row++);		table.setHeight(row++, 16);		table.add(getText(localize("run_reg.best_regards", "Best regards,")), 1, row++);		table.add(getText(localize("run_reg.reykjavik_marathon", "Reykjavik Marathon")), 1, row++);		table.add(getText("www.marathon.is"), 1, row++);		add(table);	}