Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Popup from Popup

Peter Czurak
1 decade ago Mar 10, 2010 11:34pm
Joonas Lehtinen
1 decade ago Mar 11, 2010 9:42am

That should not be a problem. Just add the new popup window to the root window - it should nicely popup on top of the previous one.

final Window mainWindow = new Window("Pt Application");
        Window p1 = new Window("1");
        p1.addComponent(new Button("pop", new Button.ClickListener() {
            public void buttonClick(ClickEvent event) {
                Window p2 = new Window("p2");
Peter Czurak
1 decade ago Mar 11, 2010 1:35pm
Peter Czurak
1 decade ago Mar 11, 2010 3:46pm
Jens Jansson
1 decade ago Mar 12, 2010 6:57am