private void EmpHistoryTableMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_EmpHistoryTableMouseClicked
        int row = EmpHistoryTable.getSelectedRow();
        job = (EmpHistoryTable.getModel().getValueAt(row,0).toString());
        emplyr = (EmpHistoryTable.getModel().getValueAt(row,1).toString());
        st = (EmpHistoryTable.getModel().getValueAt(row,2).toString());
        en = (EmpHistoryTable.getModel().getValueAt(row,3).toString());                                            
        position.setText(job);
        employer.setText(emplyr);
        start.setText(st);
        end.setText(en);
        editEmpHist.setEnabled(true);
        deleteEmpHist.setEnabled(true);
    }