Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Read objects from Folder

Jet Beray
1 decade ago May 25, 2012 5:39am
Charles Anthony
1 decade ago May 25, 2012 6:39am


Table#addItem creates an item, but does not set any properties on it. Those properties displayed as the contents of the column..

I think you'll want to do something like the following :

for(int i = 0; i < fileList.length; i++){
     Item item = table.addItem( fileList.getName() );



Last updated on May, 25th 2012
Johannes Häyry
1 decade ago May 25, 2012 8:22am