Setting Label icon Problem in the Absolutelayout of the Panel

Hi sir,

        I am using vaadin 6.8.4 version.  I have an issue in the Panel contents . The code is given below


	@AutoGenerated
	private Panel buildPanel_2() {
		// common part: create layout
		panel_2 = new Panel();
		panel_2.setCaption("Nozzles to fire");
		panel_2.setImmediate(true);
		panel_2.setWidth("735px");
		panel_2.setHeight("232px");
		
		// verticalLayout_2
		verticalLayout_2 = buildVerticalLayout_2();
		panel_2.setContent(verticalLayout_2);
		
		return panel_2;
	}

	@AutoGenerated
	private VerticalLayout buildVerticalLayout_2() {
		// common part: create layout
		verticalLayout_2 = new VerticalLayout();
		verticalLayout_2.setImmediate(true);
		verticalLayout_2.setWidth("100.0%");
		verticalLayout_2.setHeight("100.0%");
		verticalLayout_2.setMargin(false);
		
		// absoluteLayout_4
		absoluteLayout_4 = new AbsoluteLayout();
		absoluteLayout_4.setImmediate(true);
		absoluteLayout_4.setWidth("100.0%");
		absoluteLayout_4.setHeight("100.0%");
		absoluteLayout_4.setMargin(false);
		verticalLayout_2.addComponent(absoluteLayout_4);
		verticalLayout_2.setExpandRatio(absoluteLayout_4, 1.0f);
		verticalLayout_2.setComponentAlignment(absoluteLayout_4, new Alignment(48));
		
		return verticalLayout_2;
	}


        public void addValves() // adding label with image to absolutelayout
	{
		int top = 10 , left = 20 ,top1 = 50,left1 = 40;
		absoluteLayout_4.removeAllComponents();			
		for (int i = 0,j=1; i < 41; i++,j++) 
		{
			//icon
			lblEd[i]
 = new Label();	
			lblEd[i]
.setImmediate(true);
			lblEd[i]
.setWidth("42px");
			lblEd[i]
.setHeight("40px");
			lblEd[i]
.setIcon(voff);
			lblEd[i]
.setContentMode(Label.CONTENT_XHTML);
			
			//Label
			lblLabel[i]
 = new Label(""+j);
			lblLabel[i]
.setImmediate(true);
			lblLabel[i]
.setWidth("20px");
			lblLabel[i]
.setHeight("20px");
			lblLabel[i]
.setContentMode(Label.CONTENT_XHTML);
			
			if(i == 14 || i == 28)
			{
				left  =  20;
				left1 =  35;
				top   += 70;					
				top1  += 70; 
			}		
			absoluteLayout_4.addComponent(lblEd[i]
,"top:"+top+"px;left:"+left+"px;");
			absoluteLayout_4.addComponent(lblLabel[i]
,"top:"+top1+"px;left:"+left1+"px;");				
			left += 50;
			left1 += 50;
		}
	}

I am changing the label image on and off using the thread . But while setIcon method is called , all the labels are moved upwards direction to the panel caption . How to solve this problem ?
Please help me sir !