mainMapView.setViewportView(mapViewJComponent); mapViewJComponent.setup(guiRoot, modelRoot); ((OverviewMapJComponent) mapOverview).setup(modelRoot); ((DateJLabel) datejLabel).setup(modelRoot); ((CashJLabel) cashjLabel).setup(modelRoot); ((TrainsJTabPane) trainsJTabPane1).setup(modelRoot); ((BuildMenu) buildMenu).setup(modelRoot); setTitle("Railz Client"); guiRoot.getMapMediator().setMainMap (mainMapView.getViewport(), mapViewJComponent); setSize(640, 450);  show();
SwingUtilities.invokeLater(setupImpl);
    public void setup() {        mainMapView.setViewportView(mapViewJComponent);        mapViewJComponent.setup(guiRoot, modelRoot);	((OverviewMapJComponent) mapOverview).setup(modelRoot);        ((DateJLabel) datejLabel).setup(modelRoot);        ((CashJLabel) cashjLabel).setup(modelRoot);        ((TrainsJTabPane) trainsJTabPane1).setup(modelRoot);	((BuildMenu) buildMenu).setup(modelRoot);	setTitle("Railz Client");	guiRoot.getMapMediator().setMainMap	    (mainMapView.getViewport(), mapViewJComponent);	setSize(640, 450);	/* needed on Mac OS X */	show();    }