From 034c2ad36a0d659cd768922ba14cf7de77ba1ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 6 Oct 2011 11:02:03 +0200 Subject: vaadin-app: fix copypaste --- vaadin-app/src/ch/asynk/helloworld/MainLayout.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vaadin-app/src/ch/asynk/helloworld/MainLayout.java b/vaadin-app/src/ch/asynk/helloworld/MainLayout.java index 29504cb..d4481c1 100644 --- a/vaadin-app/src/ch/asynk/helloworld/MainLayout.java +++ b/vaadin-app/src/ch/asynk/helloworld/MainLayout.java @@ -21,11 +21,11 @@ public class MainLayout extends VerticalLayout { public MainLayout(Context context) { ctx = context; // - final AbstractComponent ctrlPanel = buildPanel(); - ctrlPanel.setWidth(250,UNITS_PIXELS); - ctrlPanel.setHeight(300,UNITS_PIXELS); - addComponent(ctrlPanel); - setComponentAlignment(ctrlPanel, Alignment.MIDDLE_CENTER); + final AbstractComponent pa = buildPanel(); + pa.setWidth(250,UNITS_PIXELS); + pa.setHeight(300,UNITS_PIXELS); + addComponent(pa); + setComponentAlignment(pa, Alignment.MIDDLE_CENTER); // } -- cgit v1.1-2-g2b99