target.setup( targetName, preferredWidth, preferredHeight, params );
}
if ( pageName != null ) {
target.setContent( pageName );
PageSupport targetPage = currentProject.getPageManager().loadPage( pageName );
pageDisplay.displayPage( targetPage, targetName );
}
}
catch ( NumberFormatException ex1 ) {
ex1.printStackTrace();
}
}
else if ( typeStr.equals( "Toolbar" )) {
String constraint = childNode.getAttribute( "constraint" );
PageSupport toolbar = currentProject.getPageManager().loadPage( pageName );
pageDisplay.displayDecoration( toolbar, constraint );
}
}
pageDisplay.doLayout();