summaryrefslogtreecommitdiffstats
path: root/vaadin-app
diff options
context:
space:
mode:
Diffstat (limited to 'vaadin-app')
-rw-r--r--vaadin-app/build.xml1
-rw-r--r--vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java6
2 files changed, 4 insertions, 3 deletions
diff --git a/vaadin-app/build.xml b/vaadin-app/build.xml
index 9ea1aab..fe108a1 100644
--- a/vaadin-app/build.xml
+++ b/vaadin-app/build.xml
@@ -297,6 +297,7 @@
optimize="${compile.optimize}"
includeantruntime="false">
<classpath refid="compile.classpath"/>
+ <compilerarg value="-Xlint"/>
</javac>
<!-- Copy application resources -->
diff --git a/vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java b/vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java
index ee0382e..3748bee 100644
--- a/vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java
+++ b/vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java
@@ -127,13 +127,13 @@ public class DataMappingLayout extends FormLayout {
});
addComponent(tf4);
//
- Button nextButton = new Button("end layout");
- nextButton.setDescription("Go to end layout");
+ Button nextButton = new Button("next layout");
+ nextButton.setDescription("Go to next layout");
addComponent(nextButton );
nextButton.addListener( new Button.ClickListener() {
@Override
public void buttonClick(ClickEvent event) {
- getApplication().getMainWindow().setContent( new EndLayout() );
+ getApplication().getMainWindow().setContent( new LayoutLayout() );
}
});
}