@Override
	public void actionPerformed(ActionEvent e)
	{
		if(e.getSource().equals(newFile))
		{
			createNewFile();
		}
		else if(e.getSource().equals(openFile))
		{
			showOpenDialog();
			this.reset();
			this.update();
		}
		else if(e.getSource().equals(importFile))
		{
			showImportDialog();
		}
		else if(e.getSource().equals(saveFile))
		{
			showSaveDialog();
		}
		else if(e.getSource().equals(centerView))
		{
			new CenterViewDialog(this);
		}
		else if(e.getSource().equals(help))
		{
			showHelp();
		}
		else if(e.getSource().equals(about))
		{
			new AboutFrame();
		}
	}