This is a dropzone.js GWT wrapper
This bundles Dropzone.js into a small GWT lib, injecting it's Javascript and CSS files during runtime and wrapping the JSNI calls to the Dropzone.js code, convenitenly exposing the API as a GWT Widget.
##How?
Add this dependency at your pom.xml
<dependency>
<groupId>com.github.andrezimmermann</groupId>
<artifactId>dropzone-gwt</artifactId>
<version>0.0.4</version>
</dependency>
Inherit the Dropzone module at your gwt.xml
<inherits name='com.github.andrezimmermann.dropzone.Dropzone' />
Instantiate a com.github.andrezimmermann.dropzone.client.Dropzone
widget, and add to a Container
, see the magic happen.