From: Joonas Lehtinen Date: Sun, 22 Feb 2009 18:17:37 +0000 (+0000) Subject: NEW - # 2641: Remove the child window from the Calculator example X-Git-Tag: 6.7.0.beta1~3094 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=491b3e537477c6f038f09cd03105cdbce552dec6;p=vaadin-framework.git NEW - # 2641: Remove the child window from the Calculator example http://dev.itmill.com/ticket/2641 svn changeset:6930/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/demo/Calc.java b/src/com/itmill/toolkit/demo/Calc.java index 0955f34d1f..8503f6e910 100644 --- a/src/com/itmill/toolkit/demo/Calc.java +++ b/src/com/itmill/toolkit/demo/Calc.java @@ -23,9 +23,8 @@ public class Calc extends com.itmill.toolkit.Application { @Override public void init() { - // Place the layout to a floating dialog inside the browser main window - setMainWindow(new Window("Calculator Application")); - getMainWindow().addWindow(new Window("Calc", layout)); + // Place the layout to the browser main window + setMainWindow(new Window("Calculator Application", layout)); // Create and add the components to the layout layout.addComponent(display, 0, 0, 3, 0);