I have a page. in that three composites are there one by one.simply i am putting the composites into grid layout .
composite1
Composite2
Composite3
Based on some condition, i will set visible false composite 1. So remaining components will be visible true. My problem here, when i set visible false composite 1, i want to move Composite 2, composite 3 go to UP.
Composite2
Composite3
But i am facing problem here
Space
Composite2
Composite3
in the place of Composite1 , i am getting space due to setVisible (false). But i want to remove space and Composite2 has to be place in Composite1 instead of space, Composite3 to be place in Composite2. i tried to setComputeSize(0,0) for the the Composite1. But Its not working.Could anyone please help me.