public void guiForSavingTheOutputFileWithXmlOrSpecialChars() {

		frmSavingTheOutputFileWithXmlOrSpecialChars.setSize(400, 300);
		frmSavingTheOutputFileWithXmlOrSpecialChars
				.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frmSavingTheOutputFileWithXmlOrSpecialChars.setVisible(true);
		frmSavingTheOutputFileWithXmlOrSpecialChars
				.add(pnlSavingTheOutputFileWithXmlOrSpecialChars);
		frmSavingTheOutputFileWithXmlOrSpecialChars.setLocationRelativeTo(null);
		frmSavingTheOutputFileWithXmlOrSpecialChars
				.setTitle("XML Tool: Saving The File Either with Xml or Special Chars");

		pnlSavingTheOutputFileWithXmlOrSpecialChars.setLayout(null);
		pnlSavingTheOutputFileWithXmlOrSpecialChars.setVisible(true);
		pnlSavingTheOutputFileWithXmlOrSpecialChars
				.add(btnForSavingFileAfterParticularDatedXmlIsExtractedOrSpecialCharsChecked);
		pnlSavingTheOutputFileWithXmlOrSpecialChars
				.add(btnForCancellingAndMovingBackToMainHomeScreenForSavingForm);
		pnlSavingTheOutputFileWithXmlOrSpecialChars
				.add(btnForSelectingFileOrCreatingNewFileForStoringResult);
		pnlSavingTheOutputFileWithXmlOrSpecialChars.add(txtPathOfFileOfSave);
		pnlSavingTheOutputFileWithXmlOrSpecialChars.add(txtNumberOfXml);
		pnlSavingTheOutputFileWithXmlOrSpecialChars
				.add(lblSaveAsSavingTheOutputFileWithXmlOrSpecialChars);
		pnlSavingTheOutputFileWithXmlOrSpecialChars
				.add(lblNumberOfXmlInLogFileAfterRemovingSpecialChars);
		pnlSavingTheOutputFileWithXmlOrSpecialChars.add(lblDone);

		btnForSavingFileAfterParticularDatedXmlIsExtractedOrSpecialCharsChecked
				.setBounds(100, 200, 80, 30);
		btnForSavingFileAfterParticularDatedXmlIsExtractedOrSpecialCharsChecked
				.setVisible(false);
		btnForCancellingAndMovingBackToMainHomeScreenForSavingForm.setBounds(
				200, 200, 80, 30);
		btnForCancellingAndMovingBackToMainHomeScreenForSavingForm
				.setVisible(true);
		btnForSelectingFileOrCreatingNewFileForStoringResult.setBounds(300, 75,
				80, 30);
		btnForSelectingFileOrCreatingNewFileForStoringResult.setVisible(true);

		txtPathOfFileOfSave.setBounds(80, 75, 200, 30);
		txtPathOfFileOfSave.setEditable(false);
		txtNumberOfXml.setBounds(230, 150, 100, 30);
		txtNumberOfXml.setEditable(false);
		txtNumberOfXml.setText(WritingXmlFromLogFileToTxtFile.temp2);

		lblSaveAsSavingTheOutputFileWithXmlOrSpecialChars.setBounds(10, 75, 80,
				30);
		lblNumberOfXmlInLogFileAfterRemovingSpecialChars.setBounds(40, 150,
				250, 30);
		lblNumberOfXmlInLogFileAfterRemovingSpecialChars.setVisible(true);
		lblDone.setBounds(150, 230, 80, 30);
		lblDone.setVisible(false);

		/*
		 * Button listener for selecting or creating a file where we need to
		 * save the end result i.e. either result set based on Query or special
		 * chars
		 */
		try {
			btnForSelectingFileOrCreatingNewFileForStoringResult
					.addActionListener(new ActionListener() {

						@Override
						public void actionPerformed(ActionEvent e) {
							// TODO Auto-generated method stub
							SelectingXmlFileToWriteSpecialChar objSelectingXmlFileToWriteSpecialChar = new SelectingXmlFileToWriteSpecialChar();

							objSelectingXmlFileToWriteSpecialChar
									.savingXmlFileAfterSearchingForDataOrSpecialChars();
							if (WritingXmlFromLogFileToTxtFile.fileCreatedAfterXmlIsExtractedFromLogFile
									.exists()) {
								btnForSavingFileAfterParticularDatedXmlIsExtractedOrSpecialCharsChecked
										.setVisible(true);
								txtPathOfFileOfSave
										.setText(objSelectingXmlFileToWriteSpecialChar.PathOfFileOfSave);
							}

						}
					});
		} catch (Exception e) {
			e.printStackTrace();
		}

		/*
		 * Button listener to save and execute the special char query
		 */
		try {
			btnForSavingFileAfterParticularDatedXmlIsExtractedOrSpecialCharsChecked
					.addActionListener(new ActionListener() {

						@Override
						public void actionPerformed(ActionEvent e) {
							// TODO Auto-generated method stub

							writingSpecialCharsToFileAfterSearchingForDataOrSpecialChars();
							lblDone.setVisible(true);
						}
					});
		} catch (Exception e) {
			e.printStackTrace();
		}

		/*
		 * Button Listener to cancel the action and move back to Home screen
		 */
		try {
			btnForCancellingAndMovingBackToMainHomeScreenForSavingForm
					.addActionListener(new ActionListener() {

						@Override
						public void actionPerformed(ActionEvent e) {
							// TODO Auto-generated method stub
							MainHomePageForApplication
							objMainHomePageForApplication = new
							 MainHomePageForApplication();
							objMainHomePageForApplication.frmMainHomePage
						   .setVisible(true);
							objMainHomePageForApplication.guiForMainHomePage();
							objMainHomePageForApplication.btnfindingSpecialCharInMainHome.setVisible(true);
							objMainHomePageForApplication.btnQueringForXmlDataBasedOnDateinMainHomePage.setVisible(true);
							
							frmSavingTheOutputFileWithXmlOrSpecialChars
							.setVisible(false);
							//System.exit(0);
						}
					});
		} catch (Exception e) {
			e.printStackTrace();
		}

	}