public void guiForMainHomePage() {

		frmMainHomePage.setSize(500, 400);
		frmMainHomePage.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frmMainHomePage.setVisible(true);
		frmMainHomePage.add(pnlMainHomePage);
		frmMainHomePage.setLocationRelativeTo(null);
		frmMainHomePage.setTitle("XML Tool");

		pnlMainHomePage.setLayout(null);
		pnlMainHomePage.setVisible(true);
		pnlMainHomePage.add(btnForSelectingLogFileinStarting);
		pnlMainHomePage.add(txtPathOfFileOnMainHomePage);
		pnlMainHomePage.add(btnQueringForXmlDataBasedOnDateinMainHomePage);
		pnlMainHomePage.add(btnfindingSpecialCharInMainHome);
		pnlMainHomePage.add(lblDateChecker);
		pnlMainHomePage.add(cbTypeOfXml);
		//pnlMainHomePage.add(btnSelectingXmlType);
		pnlMainHomePage.add(lblXmlType);

		btnForSelectingLogFileinStarting.setBounds(25, 80, 125, 30);
		btnForSelectingLogFileinStarting.setVisible(true);
		txtPathOfFileOnMainHomePage.setBounds(170, 80, 300, 30);
		txtPathOfFileOnMainHomePage.setText(SelectingLogFileToReadXml.PathOfFile);
		txtPathOfFileOnMainHomePage.setEditable(false);
		txtPathOfFileOnMainHomePage.setVisible(true);
		btnQueringForXmlDataBasedOnDateinMainHomePage.setBounds(80, 250, 120,
				30);
		btnQueringForXmlDataBasedOnDateinMainHomePage.setVisible(false);
		btnfindingSpecialCharInMainHome.setBounds(250, 250, 180, 30);
		btnfindingSpecialCharInMainHome.setVisible(false);
		lblDateChecker.setBounds(180, 300, 250, 30);
		lblDateChecker.setVisible(false);
		cbTypeOfXml.setBounds(20, 20, 100, 30);
		cbTypeOfXml.setVisible(true);
	//	btnSelectingXmlType.setBounds(150, 20, 150, 30);
		//btnSelectingXmlType.setVisible(true);
		lblXmlType.setVisible(false);

		

		/*
		 * Button listener for calling method to select the log file
		 */
		try {
			btnForSelectingLogFileinStarting
					.addActionListener(new ActionListener() {

						@Override
						public void actionPerformed(ActionEvent e) {
							// TODO Auto-generated method stub
							//lblXmlType.setVisible(true);
							lblXmlType.setText((String) cbTypeOfXml.getSelectedItem());
							XmlTypeSelector = lblXmlType.getText();
							System.out.print(XmlTypeSelector);
							
							ReadingLogFileToGetXml objReadingLogFileToGetXml = new ReadingLogFileToGetXml();
							objReadingLogFileToGetXml.guiForOpeningAndCheckingLogFileForXML();
							
							frmMainHomePage.setVisible(false);

							if (objReadingLogFileToGetXml.flag == true ) {
								btnQueringForXmlDataBasedOnDateinMainHomePage
										.setVisible(true);
								btnfindingSpecialCharInMainHome
										.setVisible(true);

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

		/*
		 * Button listener to navigate to Frame for Querying Data based on Date
		 */
		try {
			btnQueringForXmlDataBasedOnDateinMainHomePage
					.addActionListener(new ActionListener() {

						@Override
						public void actionPerformed(ActionEvent e) {
							// TODO Auto-generated method stub
							QueringDataBasedOnDate objQueringDataBasedOnDate = new QueringDataBasedOnDate();
							objQueringDataBasedOnDate.guiForSeekingParticularDataBasedonDate();
							frmMainHomePage.setVisible(false);
							objQueringDataBasedOnDate.frmSeekingParticularDataBasedonDate
									.setAlwaysOnTop(true);
						}
					});

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

		/*
		 * Button Listener to navigate to frame for saving the file that
		 * contains Special chars or Data based on Date
		 */
		try {

			btnfindingSpecialCharInMainHome
					.addActionListener(new ActionListener() {

						@Override
						public void actionPerformed(ActionEvent e) {
							// TODO Auto-generated method stub
							WritingSpecialCharsToFile objWritingSpecialCharsToFile = new WritingSpecialCharsToFile();
							frmMainHomePage.setVisible(false);
							objWritingSpecialCharsToFile.guiForSavingTheOutputFileWithXmlOrSpecialChars();
						}
					});
		} catch (Exception e) {
			e.printStackTrace();
		}
	}