public void staffPersonalInfo(Vector<Staff> staff, String toMatch, JTextField... staffTF) {
        try {
            int ind = -1;
            String lName = toMatch.substring(0, toMatch.indexOf(","));
            String dBirth = toMatch.substring(toMatch.indexOf("(") + 1, toMatch.indexOf(")"));
            for (int i = 0; i < staff.size(); i++)
                if (staff.get(i).getLname().equalsIgnoreCase(lName) && staff.get(i).getbDate().toString().equalsIgnoreCase(dBirth))
                    ind = i;
            ResultSet res = DB.db.staff(staff.get(ind).getLname(), staff.get(ind).getbDate());
            while (res.next()) {
                staffTF[0].setText(res.getString("fname"));
                staffTF[1].setText(res.getString("lname"));
                staffTF[2].setText(res.getDate("bdate").toString());
                staffTF[3].setText(res.getString("email"));
                staffTF[4].setText(res.getString("address"));
                staffTF[5].setText(res.getString("zip"));
                staffTF[6].setText(res.getString("phone"));
                String tmp = res.getString("SSN");
                staffTF[7].setText(tmp.substring(0, 3) + "-" + tmp.substring(3, 6) + "-" + tmp.substring(6, 9));
                ResultSet rs = DB.db.position(res.getInt("posid"));
                while (rs.next()) {
                    staffTF[8].setText(rs.getString("posdesc"));
                }
                rs = DB.db.qualification(res.getInt("qualid"));
                while (rs.next()) {
                    staffTF[9].setText(rs.getString("qualdesc"));
                }
            }
            DB.db.close();

        } catch (SQLException ex) {
            Logger.getLogger(MedOfficer.class.getName()).log(Level.SEVERE, null, ex);
        }
    }