public void viewUser() {
        int id_userTmp = -1;
        System.out.println("ID :");
        id_userTmp = Integer.parseInt(sc.nextLine());
        ArrayList<CarnetDB> list = null;
        ArrayList<NoteDB> list2 = null;
        UserDB user = null;
        user = new UserDB(id_userTmp);
        try {
            user.read();
        } catch (Exception ex) {
            Logger.getLogger(Controler.class.getName()).log(Level.SEVERE, null, ex);
        }
        if (user.getId_user() != -1) {//client trouvé
            System.out.println("Object trouvé :");
            try {
                list = CarnetDB.getUser(user.getId_user());
            } catch (Exception ex) {
                Logger.getLogger(Controler.class.getName()).log(Level.SEVERE, null, ex);
            }
            if (list == null) {
                System.out.println("Aucun carnet lié a ce compte");
            } else {
                user.setListCarnet(list);
                for (CarnetDB obj : user.getListCarnet()) {
                    try {
                        list2 = NoteDB.getCarnet(obj.getId_carnet());
                    } catch (Exception ex) {
                        Logger.getLogger(Controler.class.getName()).log(Level.SEVERE, null, ex);
                    }
                    obj.setListNote(list2);

                }
            }
            System.out.println(user.toString());
        }
        try {
            Thread.sleep(1000);
        } catch (InterruptedException ex) {
            Logger.getLogger(Controler.class.getName()).log(Level.SEVERE, null, ex);
        }
    }