Hi,

I have a form(scrollableY(false) which contains a container1 with scrollableY(true);
Everything works fine upto here. My requirement is to have a checkbox list in that form. what i did is:-

Container container2 = new Container(new BoxLayout(BoxLayout.Y_AXIS));
container2.setFocusable(true);
container2.setScrollableY(true);
container2.setPreferredH(Screenheight / 3);
cb = new CheckBox[8];
for (int i = 0; i < area_cb.length; i++) {
cb[i] = new CheckBox("Test"+i);
cb[i].addActionListener(this);
container2.addComponent(cb[i]);
}

container1.addComponent(container2);

With the above code only 4 components are visible and the checkboxes are not been focused. It is working only if i remove container2.setPreferredH(Screenheight / 3); from above code, but i need the container height to be fixed.
I am using LWUIT 1.4 framework for UI.