is it possible to scroll containers which contains different components?
is it possible to scroll containers which contains different components????
explain with a code please??
Thanks开发者_JAVA百科.
yes it's possible:
VerticalFieldManager vfm = new VerticalFieldManager(VERTICAL_SCROLL | VERTICAL_SCROLLBAR);
for (int i=0;i<10;i++) {
vfm.add(new LabelField("lab" + i));
vfm.add(new EditField("edit" + i,"val" + i));
}
add(vfm);
精彩评论