public void setContentController(boolean autoDisposeOnWindowClose, Controller contentController) {
if (this.contentController != null) throw new AssertException("can only set contentController once!");
this.contentController = contentController;
this.autoDisposeOnWindowClose = autoDisposeOnWindowClose;
currentGuiStack = new GuiStackSimpleImpl(contentController.getInitialComponent());
contentPanel.setContent(currentGuiStack.getPanel());
// REVIEW:12-2007:CodeCleanup
//contentPanel.setContent(contentController.getInitialComponent());
}