I mean as a slider, like so:
Image img[]=new Image{"a.png","b.png","c.png"};
for(int i=0;i<img.length;i++){
limg = (new CustomLabel(img[i]));
cnti.addComponent(limg);
addComponent(cnti);
}
Sorry, I hope you all getting my question.
I mean as a slider, like so:
Image img[]=new Image{"a.png","b.png","c.png"};
for(int i=0;i<img.length;i++){
limg = (new CustomLabel(img[i]));
cnti.addComponent(limg);
addComponent(cnti);
}
Sorry, I hope you all getting my question.
You can place a Label
then replace it using Container.replace()
while using a slide transition.
If you want to allow the user to swipe then you can theoretically you can use a a horizontal list but there were some bugs there in LWUIT.
There are more powerful options in Codename One including ImageView
.