// Edit employee
 private void employeeTableDoubleClicked() {
   if (mListener != null) {
     Employee selected = this.getSelectedEmployee();
     if (selected != null) {
       mListener.mainPanelPressedEditEmployee(this, selected);
     }
   }
 }
 // Edit company
 private void companiesTableDoubleClicked() {
   if (mListener != null) {
     Company selected = this.getSelectedCompany();
     if (selected != null) {
       mListener.mainPanelPressedEditCompany(this, selected);
     }
   }
 }
  private void deleteEmployeeButtonActionPerformed(
      java.awt.event.ActionEvent evt) { // GEN-FIRST:event_mEvaluationsButtonActionPerformed
    Employee employee = this.getSelectedEmployee();

    if (employee != null) {
      mListener.mainPanelPressedDeleteEmployee(this, employee);
    }
  } // GEN-LAST:event_mEvaluationsButtonActionPerformed
  private void deleteButtonActionPerformed(
      java.awt.event.ActionEvent evt) { // GEN-FIRST:event_mAssignEmployeesButtonActionPerformed
    Company company = this.getSelectedCompany();

    if (company != null) {
      mListener.mainPanelPressedRemoveCompany(this, company);
    }
  } // GEN-LAST:event_mAssignEmployeesButtonActionPerformed
 private void buildReportButtonActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_mEvaluationsButtonActionPerformed
   mListener.mainPanelPressedBuildReport(
       this, this.getSelectedCompany(), this.getSelectedEmployee());
 } // GEN-LAST:event_mEvaluationsButtonActionPerformed
 private void addEmployeeButtonActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_mEvaluationsButtonActionPerformed
   mListener.mainPanelPressedAddEmployee(this);
 } // GEN-LAST:event_mEvaluationsButtonActionPerformed
 private void assignEmployeesButtonActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_mAssignEmployeesButtonActionPerformed
   mListener.mainPanelPressedAssignEmployees(this);
 } // GEN-LAST:event_mAssignEmployeesButtonActionPerformed