	public void init() {
		super.init();
		setSize(580,660);
		setLayout(new BorderLayout());
		experements.put("Baseline", "baseline 2008.xml");
		experements.put("Boom and Bust", "boom and bust 3.xml");
		experements.put("Exponential Growth", "Exponential Growth Experiment.xml");
		experements.put("Central Place", "central place 1.xml");
		experements.put("Cheaters vs Cooperators", "cheaters vs cooperators.xml");
		currentexp = "Baseline";
		controls = new JPanel();
		JLabel selectorlabel = new JLabel("Experiment:");
		controls.add(selectorlabel);
		expselector = new ExperementSelector(experements);
		controls.add(expselector);
		JButton resetbutton = new JButton("Reset");
		controls.add(resetbutton);
		resetbutton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				loadSimulation(currentexp);
			}
		});
		statsLabel = new JLabel("Statistics:");
		controls.add(statsLabel);
		JButton statsButton = new JButton("Graph");
		statsButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				statsUpdater.toggleGraphVisible();
			}
		});
		controls.add(statsButton);
		add(controls, BorderLayout.NORTH);
		expselector.setVisible(true);
		expselector.addActionListener(new ExpSelectorListener());
		loadSimulation(currentexp);
	}

	public void init() {
		super.init();
		setSize(580,660);
		setLayout(new BorderLayout());
		experements.put("Baseline 2009", "baseline 2009.xml");
		experements.put("Boom and Bust", "boom and bust 2 applet.xml");
		experements.put("Exponential Growth", "Exponential Growth Experiment.xml");
		experements.put("Central Place", "central place applet.xml");
		experements.put("Cheaters vs Cooperators", "cheaters vs cooperators.xml");
		currentexp = "Baseline 2009";
		controls = new JPanel();
		JLabel selectorlabel = new JLabel("Experiment:");
		controls.add(selectorlabel);
		expselector = new ExperementSelector(experements);
		controls.add(expselector);
		JButton resetbutton = new JButton("Reset");
		controls.add(resetbutton);
		resetbutton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				loadSimulation(currentexp);
			}
		});
		statsLabel = new JLabel("Statistics:");
		controls.add(statsLabel);
		JButton statsButton = new JButton("Graph");
		statsButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				statsUpdater.toggleGraphVisible();
			}
		});
		controls.add(statsButton);
		add(controls, BorderLayout.NORTH);
		expselector.setVisible(true);
		expselector.addActionListener(new ExpSelectorListener());
		loadSimulation(currentexp);
	}
