1

I have a list of say 5 images (imageresources) that i want to add to a panel without having to declare five separate <img> tags in my ui.xml. Is this possible?

user949110
  • 543
  • 7
  • 20

1 Answers1

2

@uifield yourpanel panel

And you directly add images to that panel.

for (int i = 0; i < images.length; i++){

Image image =new Image(url);

 .....
...
Panel.add(image);
}
Suresh Atta
  • 120,458
  • 37
  • 198
  • 307