Start a subwindow

I am busy rewriting an application from Delphi to Vaadin (client)

I am looking for an example how I can start a modal window from an other window.

Example:

I have a main screen with 4 buttons. When I click on a button a new window should pop-up.
I had it working but certainly it gives errors. Who can help met with a an example.

Chris

I already solved it :slight_smile:

			startProfilewindow = new Window("Profile Execution");
			startProfilewindow.setModal(true);
			ITKstartProfile sp = new ITKstartProfile("", dbProps1);
			startProfilewindow.addComponent(sp);
			startProfilewindow.setResizable(false);	
			mainWindow.addWindow(startProfilewindow);