The menubar within the browser above can be removed, as well as other customizations that can be done, etc. But this is a basic starting point.
The bad news is that we're now in the world of SWT:
Ah well. The code will be shown in an article on DZone soon.
By the way, this is the first step to integrating the Vaadin visual designer into NetBeans IDE:
Or, look at it now, without all the various bars (location bar, menu bar, tool bar), launched such that the Vaadin visual designer is displayed, without the user needing to go there manually:
Vaadin provides editor hooks from the above website so that drag/drop actions can be reflected in an editor underlying the above page. Hence, imagine the above as a new tab in a multiview window, with one of the tabs providing the Java source code editor in NetBeans IDE.