Skip to Main Content
Vaadin 7 UI Design By Example: Beginner's Guide
book

Vaadin 7 UI Design By Example: Beginner's Guide

by Alejandro Duarte
July 2013
Beginner content levelBeginner
246 pages
5h 3m
English
Packt Publishing
Content preview from Vaadin 7 UI Design By Example: Beginner's Guide

Generated application explained

We have completed the first step of configuring our development environment to develop and run Vaadin applications. Now let's get started with the real cool stuff: the code.

Open the file WelcomeUI.java (or MyVaadinUI.java if you are using NetBeans or Maven). You will see something like this:

package com.example.welcome; import com.vaadin.server.VaadinRequest; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; import com.vaadin.ui.Label; import com.vaadin.ui.UI; import com.vaadin.ui.VerticalLayout; public class WelcomeUI extends UI { protected void init(VaadinRequest request) { final VerticalLayout layout = new VerticalLayout(); layout.setMargin(true); setContent(layout); Button button = new Button("Click ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Vaadin

Vaadin

Joachim Baumann, Daniel Arndt, Frank Engelen, Frank Hardy

Publisher Resources

ISBN: 9781782162261Other