public void actionPerformed(ActionEvent e) {
    if (e.getSource() == m_findBt) {
      if (m_field.equals("employee")) {
        find();

      } else if (m_PayrollPaychequeSubmitPanel != null) {
        PayrollPaychequeSubmitPanel();
      } else if (m_PayrollMealAllowanceSubmitPanel != null) {
        PayrollMealAllowanceSubmitPanel();
      } else if (m_PayrollOvertimeSubmitPanel != null) {
        PayrollOvertimeSubmitPanel();
      } else if (m_PayrollTransportationAllowanceSubmitPanel != null) {
        PayrollTransportationAllowanceSubmitPanel();
      } else if (m_RptFieldAllowances != null) {
        RptFieldAllowances();
      } else if (m_RptPersonalUtilization != null) {
        RptPersonalUtilization();
      } else if (m_PayrollInsuranceAllowanceSubmitPanel != null) {
        PayrollInsuranceAllowanceSubmitPanel();
      } else if (m_PayrollOtherAllowanceSubmitPanel != null) {
        PayrollOtherAllowanceSubmitPanel();
      } else if (m_PayrollTaxArt21SubmitPanel != null) {
        PayrollTaxArt21SubmitPanel();
      } else if (m_PayrollTaxArt21VerificationPanel != null) {
        PayrollTaxArt21VerificationPanel();
      } else if (m_payrollPaychequeVerificationPanel != null) {
        PayrollPaychequesVerivicationPanel();
      }
    } else if (e.getSource() == m_closeBt) {
      if (m_panel != null) m_panel.m_show = false;
      dispose();
    } else if (e.getSource() == m_clearBt) {
      m_table.clear();
    }
  }
  void find() {
    String query = "";
    try {
      query = m_table.getCriterion();
    } catch (Exception ex) {
      JOptionPane.showMessageDialog(this, ex.getMessage());
      return;
    }

    try {
      HRMBusinessLogic logic = new HRMBusinessLogic(m_conn);
      m_panel.reset(
          logic.getEmployeeByCriteria(m_sessionid, IDBConstants.MODUL_MASTER_DATA, query));
      if (m_panel.m_panel_rptEmployeProfile != null)
        m_panel.m_panel_rptEmployeProfile.m_employee = null;
      else if (m_panel.m_panel_rptPaycheq != null) m_panel.m_panel_rptPaycheq.m_employee = null;
    } catch (Exception ex) {
      JOptionPane.showMessageDialog(this, ex.getMessage(), "Warning", JOptionPane.WARNING_MESSAGE);
    }
  }