Exemplo n.º 1
0
  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();
    }
  }