开发者

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜