// set up the left-side components
ToolbarModel projectToolbarModel = new ExplorerToolbarModel(this, menuListener);
projectToolbar = new Toolbar(projectToolbarModel);
toolbox = new Toolbox(proj, menuListener);
simExplorer = new SimulationExplorer(proj, menuListener);
explorerPane = new CardPanel();
explorerPane.addView(VIEW_TOOLBOX, toolbox);
explorerPane.addView(VIEW_SIMULATION, simExplorer);
explorerPane.setView(VIEW_TOOLBOX);
attrTable = new AttrTable(this);
zoom = new ZoomControl(layoutZoomModel);
// set up the central area
CanvasPane canvasPane = new CanvasPane(layoutCanvas);
mainPanelSuper = new JPanel(new BorderLayout());
canvasPane.setZoomModel(layoutZoomModel);
mainPanel = new CardPanel();
mainPanel.addView(EDIT_LAYOUT, canvasPane);
mainPanel.setView(EDIT_LAYOUT);
mainPanelSuper.add(mainPanel, BorderLayout.CENTER);
// set up the contents, split down the middle, with the canvas