@Override
		public void actionPerformed(ActionEvent e) {
			if (e.getSource() == openButton) {
				JFileChooser chooser = new JFileChooser();
				chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
				chooser.setFileHidingEnabled(true);
				int returnValue = chooser.showOpenDialog(null);
				if (returnValue == JFileChooser.APPROVE_OPTION) {
					try {
						generalDestruction.initialize(chooser.getSelectedFile()
								.toString());
					} catch (ParserConfigurationException e1) {
						// TODO Auto-generated catch block
						e1.printStackTrace();
					} catch (SAXException e1) {
						// TODO Auto-generated catch block
						e1.printStackTrace();
					} catch (IOException e1) {
						// TODO Auto-generated catch block
						e1.printStackTrace();
					}
				}
			} else if (e.getSource() == saveAsButton) {
				JFileChooser chooser = new JFileChooser();
				chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
				chooser.setFileHidingEnabled(true);
				int returnValue = chooser.showSaveDialog(null);
				if (returnValue == JFileChooser.APPROVE_OPTION) {
					try {
						generalDestruction.saveTo(chooser.getSelectedFile()
								.toString());
					} catch (FileNotFoundException e1) {
						// TODO Auto-generated catch block
						e1.printStackTrace();
					} catch (ParserConfigurationException e1) {
						// TODO Auto-generated catch block
						e1.printStackTrace();
					} catch (TransformerException e1) {
						// TODO Auto-generated catch block
						e1.printStackTrace();
					} catch (IOException e1) {
						// TODO Auto-generated catch block
						e1.printStackTrace();
					}
				}
			} else if (e.getSource() == startStopButton) {
				if (physicsController.isActive()) {
					physicsController.stopSimulation();
					stepButton.setEnabled(true);
					startStopButton.setText("Start Simulation");
				} else {
					stepButton.setEnabled(false);
					physicsController.startSimulation();
					startStopButton.setText("Stop Simulation");
				}
			} else if (e.getSource() == stepButton) {
				if (physicsController.isActive()) {
					physicsController.stopSimulation();
					startStopButton.setText("Start Simulation");
				}
				physicsController.stepSimulation();
			}
		}