public void actionPerformed(ActionEvent e) {
		if ("next".equals(e.getActionCommand())) {
			update(1);
		}

		if ("forward".equals(e.getActionCommand())) {
			Integer num = new Integer(forwardEpochs.getText());
			update(num.intValue());
		}

		if ("restart".equals(e.getActionCommand())) {
			scape.frame.dispose();
                        new Simulation().run();
		}

		if ("exit".equals(e.getActionCommand())) {
			scape.frame.dispose();
		}
	}