@Override
		public void actionPerformed(ActionEvent e)
		{
			switch (this.ActionFLag)
			{
			case 0://编译默认源程序
				filePath = getValidFileName(Config.DEFAULTSOURCEFILEPATH);
				new LexicalAnalysis(filePath);
				showDialog();
				break;

			case 1://编译自定义源程序
				JFileChooser chooser = new JFileChooser();
				chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
				int r = chooser.showOpenDialog(MainWindow.this);
				if (r == JFileChooser.APPROVE_OPTION)
				{
					//设置文件路径
					filePath = chooser.getSelectedFile().getPath();
					new LexicalAnalysis(filePath);
					showDialog();
				}
				break;

			case 2://显示系统符号表
				OpenVariousFiles.commonOpen(getValidFileName(Config.KEYWORDFILEPATH));
				OpenVariousFiles.commonOpen(getValidFileName(Config.INTERPUNCTIONFILEPATH));
				OpenVariousFiles.commonOpen(getValidFileName(Config.OPERATORFILEPATH));
				OpenVariousFiles.commonOpen(getValidFileName(Config.COMPARISONFILEPATH));
				break;

			case 3://显示源文件
				OpenVariousFiles.commonOpen(filePath);
				break;

			case 4://显示预处理文件
				OpenVariousFiles.commonOpen(getValidFileName(Config.PREPROCESSFILEPATH));
				break;

			case 5://显示二元式表
				OpenVariousFiles.commonOpen(getValidFileName(Config.BINARYFILEPATH));
				break;

			case 6://执行语法分析
				new GrammaticalAnalysis(Config.PREPROCESSFILEPATH);
				break;

			case 7://显示语法分析结果
				break;

			default:
				break;
			}
		}