Skip to content

Instantly share code, notes, and snippets.

@canthony
canthony / CSVFileApplication.java
Created September 6, 2012 12:47
Vaadin : Reading an uploaded CSV File and using it to populate a Container/Table
package org.backstage;
import au.com.bytecode.opencsv.CSVReader;
import com.vaadin.Application;
import com.vaadin.data.Item;
import com.vaadin.data.util.IndexedContainer;
import com.vaadin.ui.Table;
import com.vaadin.ui.Upload;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;