Center center2 = new Center();
center2.setBorder("none");
center2.setFlex(true);
center2.setParent(bl2);
// Div Center area
Div divCenter2 = new Div();
divCenter2.setWidth("100%");
divCenter2.setHeight("100%");
divCenter2.setParent(center2);
// Listbox
this.listbox = new Listbox();
// listbox.setStyle("border: none;");
this.listbox.setHeight("290px");
this.listbox.setVisible(true);
this.listbox.setParent(divCenter2);
this.listbox.setItemRenderer(new SearchBoxItemRenderer());
Listhead listhead = new Listhead();
listhead.setParent(this.listbox);
Listheader listheader = new Listheader();
listheader.setSclass("FDListBoxHeader1");
listheader.setParent(listhead);
listheader.setLabel(this._listHeader1);
South south2 = new South();
south2.setBorder("none");
south2.setHeight("26px");
south2.setParent(bl2);
// hbox for holding the Textbox + SearchButton
Hbox hbox = new Hbox();
hbox.setPack("stretch");
hbox.setStyle("padding-left: 5px");
hbox.setWidth("100%");
hbox.setHeight("27px");
hbox.setParent(south2);
// textbox for inserting the search parameter
this._textbox = new Textbox();
this._textbox.setWidth("100%");
this._textbox.setMaxlength(20);
this._textbox.setParent(hbox);
// serachButton
this._searchButton = new Button();
this._searchButton.setImage("/images/icons/search.gif");
this._searchButton.addEventListener("onClick", new OnSearchListener());
this._searchButton.setParent(hbox);
South south = new South();
south.setBorder("none");
south.setHeight("30px");
south.setParent(bl);
Div divSouth = new Div();
divSouth.setWidth("100%");
divSouth.setHeight("100%");
divSouth.setParent(south);
Separator sep = new Separator();
sep.setBar(true);
sep.setOrient("horizontal");
sep.setParent(divSouth);