开发者

is it possible to scroll containers which contains different components?

开发者 https://www.devze.com 2023-02-15 22:42 出处:网络
is it possible to scroll containers which contains different components???? explain with a code please??

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

精彩评论

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