summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vaadin-app/src/ch/asynk/helloworld/MainLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/vaadin-app/src/ch/asynk/helloworld/MainLayout.java b/vaadin-app/src/ch/asynk/helloworld/MainLayout.java
index e04a7c4..29504cb 100644
--- a/vaadin-app/src/ch/asynk/helloworld/MainLayout.java
+++ b/vaadin-app/src/ch/asynk/helloworld/MainLayout.java
@@ -21,7 +21,7 @@ public class MainLayout extends VerticalLayout {
public MainLayout(Context context) {
ctx = context;
//
- final AbstractComponent ctrlPanel = buildListsPanel();
+ final AbstractComponent ctrlPanel = buildPanel();
ctrlPanel.setWidth(250,UNITS_PIXELS);
ctrlPanel.setHeight(300,UNITS_PIXELS);
addComponent(ctrlPanel);
@@ -29,7 +29,7 @@ public class MainLayout extends VerticalLayout {
//
}
- private AbstractComponent buildListsPanel() {
+ private AbstractComponent buildPanel() {
Panel panel = new Panel("Main Layout");
VerticalLayout layout = (VerticalLayout) panel.getContent();
layout.setMargin(true);