new WizardContentPanel(wizardController).addContent(mainWizardContainer);
wizardController.registerMainXULContainer(mainWizardContainer);
final Document documentRoot = mainWizardContainer.getDocumentRoot();
final XulDialog root = (XulDialog) documentRoot.getRootElement();
final Window window = (Window) root.getRootObject();
final DesignTimeContext designTimeContext = new DefaultWizardDesignTimeContext(wizardController.getEditorModel(), window);
wizardController.setDesignTimeContext(designTimeContext);
final XulRunner runner = new SwingXulRunner();
runner.addContainer(mainWizardContainer);