WFBezel mainTable = new WFBezel(); mainTable.setWidth("400px"); mainTable.setHeight("300px");
	public void init(IWContext iwc) {		iwb = this.getBundle(iwc);		iwrb = this.getResourceBundle(iwc);		Page thePage = this;		//thePage.setBackgroundColor(backgroundColor);		//thePage.setAllMargins(0);		thePage.setTitle("idegaWeb Applications");		HtmlForm form = new HtmlForm();		specialList = new SpecialChildList(this,form);				add(form);				//UISaveState savestate = new UISaveState();		//form.getChildren().add(savestate);				WorkspaceBar bar = new WorkspaceBar();		//form.getChildren().add(bar);		add(bar);				/*Table frameTable = new Table(1, 1);		frameTable.setWidth("100%");		frameTable.setHeight("100%");		frameTable.setCellpadding(0);		frameTable.setCellspacing(0);		frameTable.setAlignment(1, 1, "center");		frameTable.setVerticalAlignment(1, 1, "middle");*/								//Table mainTable = new Table(1, 4);		WFBezel mainTable = new WFBezel();		mainTable.setWidth("400px");		mainTable.setHeight("300px");//		add(mainTable);						//mainTable.setCellspacing(0);		//mainTable.setCellpadding(0);		//mainTable.setBackgroundImage(1,1,iwb.getImage("logintiler.gif"));		//mainTable.setAlignment(1, 2, "right");		//mainTable.setAlignment(1, 3, "right");		//mainTable.setAlignment(1, 4, "center");		//mainTable.setVerticalAlignment(1, 1, "top");		//mainTable.setVerticalAlignment(1, 2, "top");		//mainTable.setVerticalAlignment(1, 3, "top");		//mainTable.setVerticalAlignment(1, 4, "bottom");		//mainTable.setHeight(4, "12");		//mainTable.setColor("#FFFFFF");						//frameTable.add(mainTable, 1, 1);		//form.getChildren().add(mainTable);						//mainTable.setStyleAttribute("border", "1px solid #000000");		boolean isLoggedOn = false;		try {			isLoggedOn = iwc.isLoggedOn();		}		catch (Exception e) {			isLoggedOn = false;		}		if (isLoggedOn) {			IWControlCenter iwcc = new IWControlCenter();			//mainTable.setHeight(2, "165");			//mainTable.setAlignment(1, 2, "center");			//mainTable.setAlignment(1, 3, "right");			//mainTable.setVerticalAlignment(1, 2, "middle");			//mainTable.setVerticalAlignment(1, 3, "middle");			mainTable.add(iwcc);			//headerImage = iwrb.getImage("login/header_app_suite.jpg", "", 323, 196);		}		else {			//mainTable.setHeight(2, "175");			//mainTable.setHeight(3, "50");			//mainTable.setAlignment(1, 2, Table.HORIZONTAL_ALIGN_RIGHT);			/*Table dropdownTable = new Table(1, 1);			dropdownTable.setWidth(148);			dropdownTable.setCellpadding(0);			dropdownTable.setCellspacing(0);			dropdownTable.setAlignment(1, 1, "center");*/			//mainTable.setAlignment(1, 3, Table.HORIZONTAL_ALIGN_RIGHT);			//mainTable.add(dropdownTable);			//Form myForm = new Form();			//myForm.setEventListener(com.idega.core.localisation.business.LocaleSwitcher.class.getName());						/*			DropdownMenu dropdown = LocalePresentationUtil.getAvailableLocalesDropdown(iwc);			dropdown.setStyleAttribute("font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; border-style:solid; border-width:1; border-color: #000000");			//myForm.add(dropdown);			mainTable.add(dropdown);			*/						//dropdownTable.add(myForm);			//mainTable.add(myForm);			//headerImage = iwrb.getImage("/login/header.jpg", "", 323, 196);		}		//Link lheaderLink = new Link(headerImage, iwc.getIWMainApplication().getApplicationContextURI());		//mainTable.add(lheaderLink, 1, 1);				//form.getChildren().add(frameTable);	}