8081828384858687888990
submitButton.addClickHandler(new PClickHandler() { @Override public void onClick(final PClickEvent event) { fileUpload.submit(); } }); panel.add(fileUpload); panel.add(submitButton);