super.setResizable(true); super.setHeight(450);
	public void main(IWContext iwc) throws Exception {		super.setResizable(true);		super.setHeight(450);		IWResourceBundle iwrb = getResourceBundle(iwc);		String name = iwc.getParameter(IWMarathonConstants.PARAMETER_NAME);		String run = iwc.getParameter(IWMarathonConstants.GROUP_TYPE_RUN);		String distance = iwc.getParameter(IWMarathonConstants.GROUP_TYPE_RUN_DISTANCE);		String tshirt = iwc.getParameter(IWMarathonConstants.PARAMETER_TSHIRT);		Table t = new Table();		t.setStyleAttribute("border-style:solid;border-color:#e1e1e1;height:19px;border-width:1px;padding-left:6px;");		String message = iwrb.getLocalizedString("registration_received", "Your registration has been received.");		Group runGroup = null;		Group distanceGroup = null;		try {			runGroup = getGroupBusiness(iwc).getGroupByGroupID(Integer.parseInt(run));			distanceGroup = getGroupBusiness(iwc).getGroupByGroupID(Integer.parseInt(distance));			Object[] args = { name, iwrb.getLocalizedString(runGroup.getName(),runGroup.getName()), iwrb.getLocalizedString(distanceGroup.getName(),distanceGroup.getName()), iwrb.getLocalizedString(tshirt, tshirt) };			message = MessageFormat.format(iwrb.getLocalizedString("registration_received", "Your registration has been received."), args);		}		catch (RemoteException re) {			log(re);		}		catch (FinderException fe) {			log(fe);		}		t.add(TextFormatter.formatText(message), 1, 1);		t.add(new PrintButton(iwrb.getLocalizedString("print","Print")));				add(t);	}