Code from the Vaadin Cookbook.  Either my own code or taken from the examples.