System.out.println(teachers[i].getIdUser() + " "+idTeacher);
    public void setIdTeacher(Long idTeacher) {        for (int i = 1; i < teachers.length; ++i) {            if (teachers[i].getIdUser().equals(idTeacher)) {                System.out.println(teachers[i].getIdUser() + " "+idTeacher);                teacherFieldJcb.setSelectedIndex(i);                break;            }        }    }