Package com.vaadin.tests.tickets

Source Code of com.vaadin.tests.tickets.Ticket2323

package com.vaadin.tests.tickets;

import com.vaadin.server.LegacyApplication;
import com.vaadin.ui.LegacyWindow;
import com.vaadin.ui.RichTextArea;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;

public class Ticket2323 extends LegacyApplication {

    @Override
    public void init() {
        LegacyWindow w = new LegacyWindow(getClass().getSimpleName());
        setMainWindow(w);

        VerticalLayout layout = new VerticalLayout();
        layout.setMargin(true);
        Window subWindow = new Window("", layout);
        subWindow.setSizeUndefined();
        subWindow.getContent().setSizeUndefined();
        subWindow.center();
        subWindow.setContent(new RichTextArea());
        w.addWindow(subWindow);
    }

}
TOP

Related Classes of com.vaadin.tests.tickets.Ticket2323

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.